diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index ceb2ca3c9..886dc1227 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -1 +1,5 @@ -INSTALL(FILES maptool.1 navit.1 DESTINATION ${MAN_DIR}) +INSTALL(FILES maptool.1 DESTINATION ${MAN_DIR}) +if(NOT DEFINED NAVIT_BINARY) + set(NAVIT_BINARY navit) +endif() +INSTALL(FILES navit.1 DESTINATION ${MAN_DIR} RENAME ${NAVIT_BINARY}.1) |