diff --git a/CMakeLists.txt b/CMakeLists.txt index aeeb2f90..d09e12b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -372,8 +372,20 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/vba-over.ini DESTINATION ${DATA_IN IF(NOT APPLE) INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/gtk/icons/ DESTINATION share/icons/hicolor PATTERN ".svn" EXCLUDE) ENDIF(NOT APPLE) + +# manual pages +IF( UNIX ) + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/debian/vbam.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) + IF( ENABLE_GTK ) + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/debian/gvbam.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) + ENDIF( ENABLE_GTK ) + IF( ENABLE_WX ) + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/debian/wxvbam.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) + ENDIF( ENABLE_WX ) +ENDIF( UNIX ) + SET(CPACK_GENERATOR "ZIP") SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MINOR "8") SET(CPACK_PACKAGE_VERSION_PATCH "0-SVN1292") -INCLUDE(CPack) \ No newline at end of file +INCLUDE(CPack)