diff options
author | Ray-V <[email protected]> | 2021-05-18 23:03:21 +0100 |
---|---|---|
committer | Ray-V <[email protected]> | 2021-05-18 23:03:21 +0100 |
commit | 37752f553596d99ca7ce99009e9c884c7785dee5 (patch) | |
tree | 97fa25952be462eab999bba7dd9bf2cf2e9ef382 /doc/man | |
parent | 6c5f5580e463424ac1ccaaf4805bec6d71c4dc55 (diff) | |
download | amarok-37752f553596d99ca7ce99009e9c884c7785dee5.tar.gz amarok-37752f553596d99ca7ce99009e9c884c7785dee5.zip |
Install all man pages with common rules
Signed-off-by: Ray-V <[email protected]>
Diffstat (limited to 'doc/man')
-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() + |