diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-03-10 20:40:25 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-03-10 20:40:25 +0100 |
commit | 9baf045b5c2b751acbd60ee136bf641bd5c81c31 (patch) | |
tree | 6cdb2651bae7521beb49cd76630ad43dd116c181 /CMakeLists.txt | |
parent | 43211852ccf17a88435771feb847123100f80243 (diff) | |
download | sensei-raw-ctl-9baf045b5c2b751acbd60ee136bf641bd5c81c31.tar.gz sensei-raw-ctl-9baf045b5c2b751acbd60ee136bf641bd5c81c31.tar.xz sensei-raw-ctl-9baf045b5c2b751acbd60ee136bf641bd5c81c31.zip |
Fix manpage generation
The manpages could end up in a wrong directory.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 261f4e1..2dad451 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ endforeach () add_custom_target (docs ALL DEPENDS ${project_MAN_PAGES}) foreach (page ${project_MAN_PAGES}) - string (REGEX MATCH "\\.([0-9])" manpage_suffix "${page}") + string (REGEX MATCH "\\.([0-9])$" manpage_suffix "${page}") install (FILES "${page}" DESTINATION "${CMAKE_INSTALL_MANDIR}/man${CMAKE_MATCH_1}") endforeach () |