summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/man/CMakeLists.txt15
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()
+