diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-03-15 21:53:52 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-03-15 21:53:52 +0100 |
commit | 38890be47d1f1d3555916b0de1e628b1dc1c4dbb (patch) | |
tree | 8e74990788f8d3f28d03338808422ce84780d20d /CMakeLists.txt | |
parent | c5dbe5fa44d808b95e55b6eb12e11bc32267dafe (diff) | |
download | tdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.tar.gz tdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.tar.xz tdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.zip |
Fix manpage installation
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 2ab65ad..074d054 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -195,7 +195,7 @@ install (TARGETS ${CMAKE_PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR}) install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) foreach (page ${project_MAN_PAGES_OUTPUT}) - 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 (page) |