- fixes for build scripts to use common manpage variable name

This commit is contained in:
Mark Vejvoda
2011-12-14 07:50:53 +00:00
parent 9852325da6
commit 19d564dcd1
3 changed files with 12 additions and 2 deletions

View File

@@ -154,6 +154,11 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
${TARGET_NAME}
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
# Installation of the program manpage file
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
# Installation of the program config and image files
#INSTALL(FILES
# "${PROJECT_SOURCE_DIR}/mk/linux/glest.ini"

View File

@@ -255,7 +255,7 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
# Installation of the program manpage file
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/linux/megaglest.6"
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
ELSE()
@@ -277,7 +277,7 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
# Installation of the program manpage file
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/megaglest.6"
"${PROJECT_SOURCE_DIR}/${TARGET_NAME_MANPAGE}"
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
ENDIF()

View File

@@ -149,6 +149,11 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
${TARGET_NAME}
DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
# Installation of the program manpage file
INSTALL(FILES
"${PROJECT_SOURCE_DIR}/mk/linux/${TARGET_NAME_MANPAGE}"
DESTINATION ${MEGAGLEST_MANPAGE_INSTALL_PATH})
# Installation of the program config and image files
#INSTALL(FILES
# "${PROJECT_SOURCE_DIR}/mk/linux/glest.ini"