summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2016-02-28 03:53:23 +0100
committerKamil Rytarowski <n54@gmx.com>2016-02-28 03:53:23 +0100
commite8d40d6e873f4a85696fac5da81eb9dbe7d1bc6c (patch)
tree3785a6a15410593f56af59621f52206305acc7e3 /man
parent96bda566ccf21b7762757fb745f1fc0031e89476 (diff)
Fix installation dir of man-pages on NetBSD
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)
-