diff options
author | Ray-V <ray-v@inbox.lv> | 2021-05-18 23:03:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-05-24 12:03:40 +0200 |
commit | fc42411b0d97cb27a2bb580a376f1eb4dd7a05af (patch) | |
tree | b0cc39410bf4d54780a92ce757dedb60641c9734 /doc | |
parent | 1ca43b86d833f4fa22d462121b2692be83112e91 (diff) | |
download | amarok-fc42411b0d97cb27a2bb580a376f1eb4dd7a05af.tar.gz amarok-fc42411b0d97cb27a2bb580a376f1eb4dd7a05af.zip |
Install all man pages with common rules
Signed-off-by: Ray-V <ray-v@inbox.lv>
(cherry picked from commit 37752f553596d99ca7ce99009e9c884c7785dee5)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/CMakeLists.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt index cf75d2d7..db8bb9c1 100644 --- a/doc/man/CMakeLists.txt +++ b/doc/man/CMakeLists.txt @@ -1,6 +1,9 @@ -INSTALL( - FILES ${PROJECT_NAME}.1 amarokapp.1 amarok_libvisual.1 - amarokcollectionscanner.1 - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc -) +file( GLOB _man_files *.1 ) +if( _man_files ) + INSTALL( + FILES ${_man_files} + DESTINATION ${MAN_INSTALL_DIR}/man1 + COMPONENT doc + ) +endif() + |