mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove extra symlink command
* Remove symlink command that is now done a few lines later. * Relocate comment. * Do not install INSTALL (not needed) and COPYING (linked/copied elsewhere).
This commit is contained in:
@@ -440,11 +440,6 @@ IF (GNC_BUILD_AS_INSTALL)
|
||||
ENDIF()
|
||||
# Install DOC files from top level directory
|
||||
|
||||
#Link LICENSE to COPYING so that people expecting to find it,
|
||||
#will. COPYING is normally linked by autogen.sh to the latest
|
||||
#automake-provided version.
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "create_symlink" "${CMAKE_SOURCE_DIR}/LICENSE" "${CMAKE_SOURCE_DIR}/COPYING")
|
||||
|
||||
SET(gnucash_DOCS
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
@@ -470,13 +465,13 @@ SET(gnucash_DOCS
|
||||
LICENSE
|
||||
NEWS
|
||||
README.dependencies
|
||||
COPYING
|
||||
INSTALL
|
||||
)
|
||||
|
||||
INSTALL(FILES ${gnucash_DOCS} DESTINATION share/doc/gnucash)
|
||||
|
||||
# Link COPYING to LICENSE
|
||||
#Link LICENSE to COPYING so that people expecting to find it,
|
||||
#will. COPYING is normally linked by autogen.sh to the latest
|
||||
#automake-provided version.
|
||||
SET (_CMD create_symlink)
|
||||
IF (WIN32)
|
||||
SET(_CMD copy)
|
||||
|
||||
Reference in New Issue
Block a user