summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Staněk <jstanek@redhat.com>2019-08-07 14:50:18 +0200
committerJan Staněk <jstanek@redhat.com>2019-08-07 14:50:18 +0200
commit11b9187a685efe3146c72c280e6d6a8b6e951db2 (patch)
tree94d7b6c0375ad0798d4aaf263951f93b6f2edd96
parent29692e5fd01c629a22408cbbdbe7250fda9eaa09 (diff)
downloadbemenu-11b9187a685efe3146c72c280e6d6a8b6e951db2.tar.gz
bemenu-11b9187a685efe3146c72c280e6d6a8b6e951db2.tar.bz2
bemenu-11b9187a685efe3146c72c280e6d6a8b6e951db2.zip
Install man pages to expected location
-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