summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-02-27 20:43:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-02-27 20:43:46 -0800
commit4af0266a3540f9b8178105e30c501f4f9b6b697f (patch)
tree46cdadf7312cc592be9ee970c6905acffee913f4 /man
parent96bda566ccf21b7762757fb745f1fc0031e89476 (diff)
parent677309d11172f59044672edf112ad3a5f2eacc21 (diff)
Merge pull request #107 from krytarowski/netbsd-support-1
NetBSD build fixes
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)
-