From b14ece9e725175f98011dda8749d046d25b2f2bb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 25 Oct 2014 22:58:27 -0700 Subject: Added man/CMakeLists.txt to install man pages. --- CMakeLists.txt | 1 + man/CMakeLists.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 man/CMakeLists.txt 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) -- cgit v1.2.3