summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index 443996e..e0acd75 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -1,8 +1,10 @@
if (NOT MSVC)
+
+include(GNUInstallDirs)
+
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man1/cmark.1
- DESTINATION share/man/man1)
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man3/cmark.3
- DESTINATION share/man/man3)
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)
endif(NOT MSVC)
-