summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--man/CMakeLists.txt2
-rw-r--r--man/bemenu-run.11
3 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c89bda..c4fa0c5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,5 +27,6 @@ ADD_SUBDIRECTORY(test)
# Generate documentation (make doxygen)
ADD_SUBDIRECTORY(doxygen)
+ADD_SUBDIRECTORY(man)
# vim: set ts=8 sw=4 tw=0
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
new file mode 100644
index 0000000..9f95334
--- /dev/null
+++ b/man/CMakeLists.txt
@@ -0,0 +1,2 @@
+include(GNUInstallDirs)
+install(FILES ./bemenu.1 ./bemenu-run.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1/")
diff --git a/man/bemenu-run.1 b/man/bemenu-run.1
new file mode 100644
index 0000000..40f399c
--- /dev/null
+++ b/man/bemenu-run.1
@@ -0,0 +1 @@
+.so man1/bemenu.1