From 11b9187a685efe3146c72c280e6d6a8b6e951db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 7 Aug 2019 14:50:18 +0200 Subject: [PATCH] Install man pages to expected location --- CMakeLists.txt | 1 + man/CMakeLists.txt | 2 ++ man/bemenu-run.1 | 1 + 3 files changed, 4 insertions(+) create mode 100644 man/CMakeLists.txt create mode 100644 man/bemenu-run.1 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