1 include(GNUInstallDirs)
11 # map some variables to what the man-pages expect
12 set(PACKAGE ${CMAKE_PROJECT_NAME})
13 set(VERSION ${FLIGHTGEAR_VERSION})
15 foreach(man ${MANPAGES})
17 "${PROJECT_SOURCE_DIR}/man/${man}.in"
18 "${PROJECT_BINARY_DIR}/man/${man}"
21 install(FILES ${PROJECT_BINARY_DIR}/man/${man}
22 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)