gnucash unstable: Don't copy ChangeLog on a tarball build.
John Ralls
jralls at code.gnucash.org
Sat Oct 28 17:21:56 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/e9598228 (commit)
from https://github.com/Gnucash/gnucash/commit/b92a41b6 (commit)
commit e959822817d690a454551ec880e9da708d080479
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Oct 28 14:21:39 2017 -0700
Don't copy ChangeLog on a tarball build.
There's no reason to and besides it breaks in-source builds
because trying to copy onto itself raises an error.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f6be6f..0e4f813 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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,
Summary of changes:
CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
More information about the gnucash-changes
mailing list