Skip to content

Commit

Permalink
Don't copy ChangeLog on a tarball build.
Browse files Browse the repository at this point in the history
There's no reason to and besides it breaks in-source builds
because trying to copy onto itself raises an error.
  • Loading branch information
jralls committed Oct 28, 2017
1 parent b92a41b commit e959822
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,7 @@ IF (BUILDING_FROM_VCS)
)
INSTALL(FILES ${CMAKE_BINARY_DIR}/ChangeLog DESTINATION share/doc/gnucash)
ELSE()
FILE(COPY ChangeLog DESTINATION ChangeLog)
INSTALL(FILES ChangeLog DESTINATION share/doc/gnucash)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/ChangeLog DESTINATION share/doc/gnucash)
ENDIF()

#Link LICENSE to COPYING so that people expecting to find it,
Expand Down

0 comments on commit e959822

Please sign in to comment.