aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-03-15 21:53:52 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-03-15 21:53:52 +0100
commit38890be47d1f1d3555916b0de1e628b1dc1c4dbb (patch)
tree8e74990788f8d3f28d03338808422ce84780d20d
parentc5dbe5fa44d808b95e55b6eb12e11bc32267dafe (diff)
downloadtdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.tar.gz
tdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.tar.xz
tdv-38890be47d1f1d3555916b0de1e628b1dc1c4dbb.zip
Fix manpage installation
-rw-r--r--CMakeLists.txt2
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)