summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--man/CMakeLists.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59c2f0a..36d2e67 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,6 +86,7 @@ install(DIRECTORY include DESTINATION .
# COMPONENT devel)
add_subdirectory(src)
+add_subdirectory(man)
include(InstallRequiredSystemLibraries)
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
new file mode 100644
index 0000000..6b4b56f
--- /dev/null
+++ b/man/CMakeLists.txt
@@ -0,0 +1,3 @@
+if(UNIX)
+ INSTALL(FILES man1/cmark.1 DESTINATION share/man/man1)
+endif(UNIX)