mirror of
https://github.com/glest/glest-source.git
synced 2025-09-08 23:10:42 +02:00
- bugfix for manpage location during install on debian
This commit is contained in:
@@ -154,10 +154,19 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
|
|||||||
${TARGET_NAME}
|
${TARGET_NAME}
|
||||||
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
|
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
|
||||||
|
|
||||||
# Installation of the program manpage file
|
# Check if we are running from an SVN folder structure or tarballs
|
||||||
INSTALL(FILES
|
IF(EXISTS "${PROJECT_SOURCE_DIR}/mk/linux/megaglest.desktop")
|
||||||
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
|
# Installation of the program manpage file
|
||||||
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
INSTALL(FILES
|
||||||
|
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
|
||||||
|
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
||||||
|
ELSE()
|
||||||
|
# Installation of the program manpage file
|
||||||
|
INSTALL(FILES
|
||||||
|
"${PROJECT_SOURCE_DIR}/${TARGET_NAME_MANPAGE}"
|
||||||
|
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
||||||
|
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
# Installation of the program config and image files
|
# Installation of the program config and image files
|
||||||
#INSTALL(FILES
|
#INSTALL(FILES
|
||||||
|
@@ -149,10 +149,19 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
|
|||||||
${TARGET_NAME}
|
${TARGET_NAME}
|
||||||
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
|
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
|
||||||
|
|
||||||
# Installation of the program manpage file
|
# Check if we are running from an SVN folder structure or tarballs
|
||||||
INSTALL(FILES
|
IF(EXISTS "${PROJECT_SOURCE_DIR}/mk/linux/megaglest.desktop")
|
||||||
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
|
# Installation of the program manpage file
|
||||||
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
INSTALL(FILES
|
||||||
|
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
|
||||||
|
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
||||||
|
ELSE()
|
||||||
|
# Installation of the program manpage file
|
||||||
|
INSTALL(FILES
|
||||||
|
"${PROJECT_SOURCE_DIR}/${TARGET_NAME_MANPAGE}"
|
||||||
|
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
|
||||||
|
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
# Installation of the program config and image files
|
# Installation of the program config and image files
|
||||||
#INSTALL(FILES
|
#INSTALL(FILES
|
||||||
|
Reference in New Issue
Block a user