From c5d5c04f7af62b757b982bf1eb872e779e4c390a Mon Sep 17 00:00:00 2001 From: Ray-V Date: Tue, 13 Jul 2021 19:34:23 +0000 Subject: [PATCH] Removed CMakeLists.txt in doc and translations trees Set up common rules for doc and translations Moved doc/amarok to doc/en Signed-off-by: Ray-V --- CMakeLists.txt | 8 ++++++-- doc/CMakeLists.txt | 12 ------------ doc/amarok/CMakeLists.txt | 12 ------------ doc/da/CMakeLists.txt | 12 ------------ doc/de/CMakeLists.txt | 12 ------------ doc/{amarok => en}/Makefile.am | 0 doc/{amarok => en}/add_dynamic.png | Bin doc/{amarok => en}/advanced.docbook | 0 doc/{amarok => en}/amarok_playlist.png | Bin doc/{amarok => en}/analyzer.png | Bin doc/{amarok => en}/buttons.png | Bin doc/{amarok => en}/collection.png | Bin doc/{amarok => en}/config.docbook | 0 doc/{amarok => en}/config_appearance.png | Bin doc/{amarok => en}/config_collection.png | Bin doc/{amarok => en}/config_engine.png | Bin doc/{amarok => en}/config_general.png | Bin doc/{amarok => en}/config_osd.png | Bin doc/{amarok => en}/config_playback.png | Bin doc/{amarok => en}/config_scrobbler.png | Bin doc/{amarok => en}/coverman.png | Bin doc/{amarok => en}/dynamic_bar.png | Bin doc/{amarok => en}/dynamic_settings.png | Bin doc/{amarok => en}/equalizer.png | Bin doc/{amarok => en}/faq.docbook | 0 doc/{amarok => en}/file_browser.png | Bin doc/{amarok => en}/index.docbook | 0 doc/{amarok => en}/logo.png | Bin doc/{amarok => en}/media_device.png | Bin doc/{amarok => en}/menubar.png | Bin doc/{amarok => en}/musicbrainz.png | Bin doc/{amarok => en}/pl_tip1.png | Bin doc/{amarok => en}/play_list.png | Bin doc/{amarok => en}/player_window.png | Bin doc/{amarok => en}/playlist_browser.png | Bin doc/{amarok => en}/playlist_window.png | Bin doc/{amarok => en}/queue_manager.png | Bin doc/{amarok => en}/quick.docbook | 0 doc/{amarok => en}/requirements.docbook | 0 doc/{amarok => en}/rmb_menu.png | Bin doc/{amarok => en}/script_manager.png | Bin doc/{amarok => en}/status_bar.png | Bin doc/{amarok => en}/tab_lyrics.png | Bin doc/{amarok => en}/tab_music.png | Bin doc/{amarok => en}/tab_wiki.png | Bin doc/{amarok => en}/using.docbook | 0 doc/{amarok => en}/vis_window.png | Bin doc/es/CMakeLists.txt | 12 ------------ doc/et/CMakeLists.txt | 12 ------------ doc/fr/CMakeLists.txt | 12 ------------ doc/it/CMakeLists.txt | 12 ------------ doc/man/CMakeLists.txt | 9 --------- doc/nl/CMakeLists.txt | 12 ------------ doc/pl/CMakeLists.txt | 12 ------------ doc/pt/CMakeLists.txt | 12 ------------ doc/pt_BR/CMakeLists.txt | 12 ------------ doc/ru/CMakeLists.txt | 12 ------------ doc/sv/CMakeLists.txt | 12 ------------ translations/CMakeLists.txt | 12 ------------ translations/messages/CMakeLists.txt | 12 ------------ 60 files changed, 6 insertions(+), 203 deletions(-) delete mode 100644 doc/CMakeLists.txt delete mode 100644 doc/amarok/CMakeLists.txt delete mode 100644 doc/da/CMakeLists.txt delete mode 100644 doc/de/CMakeLists.txt rename doc/{amarok => en}/Makefile.am (100%) rename doc/{amarok => en}/add_dynamic.png (100%) rename doc/{amarok => en}/advanced.docbook (100%) rename doc/{amarok => en}/amarok_playlist.png (100%) rename doc/{amarok => en}/analyzer.png (100%) rename doc/{amarok => en}/buttons.png (100%) rename doc/{amarok => en}/collection.png (100%) rename doc/{amarok => en}/config.docbook (100%) rename doc/{amarok => en}/config_appearance.png (100%) rename doc/{amarok => en}/config_collection.png (100%) rename doc/{amarok => en}/config_engine.png (100%) rename doc/{amarok => en}/config_general.png (100%) rename doc/{amarok => en}/config_osd.png (100%) rename doc/{amarok => en}/config_playback.png (100%) rename doc/{amarok => en}/config_scrobbler.png (100%) rename doc/{amarok => en}/coverman.png (100%) rename doc/{amarok => en}/dynamic_bar.png (100%) rename doc/{amarok => en}/dynamic_settings.png (100%) rename doc/{amarok => en}/equalizer.png (100%) rename doc/{amarok => en}/faq.docbook (100%) rename doc/{amarok => en}/file_browser.png (100%) rename doc/{amarok => en}/index.docbook (100%) rename doc/{amarok => en}/logo.png (100%) rename doc/{amarok => en}/media_device.png (100%) rename doc/{amarok => en}/menubar.png (100%) rename doc/{amarok => en}/musicbrainz.png (100%) rename doc/{amarok => en}/pl_tip1.png (100%) rename doc/{amarok => en}/play_list.png (100%) rename doc/{amarok => en}/player_window.png (100%) rename doc/{amarok => en}/playlist_browser.png (100%) rename doc/{amarok => en}/playlist_window.png (100%) rename doc/{amarok => en}/queue_manager.png (100%) rename doc/{amarok => en}/quick.docbook (100%) rename doc/{amarok => en}/requirements.docbook (100%) rename doc/{amarok => en}/rmb_menu.png (100%) rename doc/{amarok => en}/script_manager.png (100%) rename doc/{amarok => en}/status_bar.png (100%) rename doc/{amarok => en}/tab_lyrics.png (100%) rename doc/{amarok => en}/tab_music.png (100%) rename doc/{amarok => en}/tab_wiki.png (100%) rename doc/{amarok => en}/using.docbook (100%) rename doc/{amarok => en}/vis_window.png (100%) delete mode 100644 doc/es/CMakeLists.txt delete mode 100644 doc/et/CMakeLists.txt delete mode 100644 doc/fr/CMakeLists.txt delete mode 100644 doc/it/CMakeLists.txt delete mode 100644 doc/man/CMakeLists.txt delete mode 100644 doc/nl/CMakeLists.txt delete mode 100644 doc/pl/CMakeLists.txt delete mode 100644 doc/pt/CMakeLists.txt delete mode 100644 doc/pt_BR/CMakeLists.txt delete mode 100644 doc/ru/CMakeLists.txt delete mode 100644 doc/sv/CMakeLists.txt delete mode 100644 translations/CMakeLists.txt delete mode 100644 translations/messages/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 50a77ec4..9021519e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,8 +97,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories ######################## add_subdirectory( ${PROJECT_NAME} ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) -tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) + + +##### other data ################################ + +tde_conditional_add_project_docs( BUILD_DOC ) +tde_conditional_add_project_translations( BUILD_TRANSLATIONS ) ##### write configure files ##################### diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index a8b8de4b..00000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_auto_add_subdirectories() diff --git a/doc/amarok/CMakeLists.txt b/doc/amarok/CMakeLists.txt deleted file mode 100644 index d0098a22..00000000 --- a/doc/amarok/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( DESTINATION amarok ) diff --git a/doc/da/CMakeLists.txt b/doc/da/CMakeLists.txt deleted file mode 100644 index fa47e2bc..00000000 --- a/doc/da/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG da DESTINATION amarok ) diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt deleted file mode 100644 index ecc4f567..00000000 --- a/doc/de/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG de DESTINATION amarok ) diff --git a/doc/amarok/Makefile.am b/doc/en/Makefile.am similarity index 100% rename from doc/amarok/Makefile.am rename to doc/en/Makefile.am diff --git a/doc/amarok/add_dynamic.png b/doc/en/add_dynamic.png similarity index 100% rename from doc/amarok/add_dynamic.png rename to doc/en/add_dynamic.png diff --git a/doc/amarok/advanced.docbook b/doc/en/advanced.docbook similarity index 100% rename from doc/amarok/advanced.docbook rename to doc/en/advanced.docbook diff --git a/doc/amarok/amarok_playlist.png b/doc/en/amarok_playlist.png similarity index 100% rename from doc/amarok/amarok_playlist.png rename to doc/en/amarok_playlist.png diff --git a/doc/amarok/analyzer.png b/doc/en/analyzer.png similarity index 100% rename from doc/amarok/analyzer.png rename to doc/en/analyzer.png diff --git a/doc/amarok/buttons.png b/doc/en/buttons.png similarity index 100% rename from doc/amarok/buttons.png rename to doc/en/buttons.png diff --git a/doc/amarok/collection.png b/doc/en/collection.png similarity index 100% rename from doc/amarok/collection.png rename to doc/en/collection.png diff --git a/doc/amarok/config.docbook b/doc/en/config.docbook similarity index 100% rename from doc/amarok/config.docbook rename to doc/en/config.docbook diff --git a/doc/amarok/config_appearance.png b/doc/en/config_appearance.png similarity index 100% rename from doc/amarok/config_appearance.png rename to doc/en/config_appearance.png diff --git a/doc/amarok/config_collection.png b/doc/en/config_collection.png similarity index 100% rename from doc/amarok/config_collection.png rename to doc/en/config_collection.png diff --git a/doc/amarok/config_engine.png b/doc/en/config_engine.png similarity index 100% rename from doc/amarok/config_engine.png rename to doc/en/config_engine.png diff --git a/doc/amarok/config_general.png b/doc/en/config_general.png similarity index 100% rename from doc/amarok/config_general.png rename to doc/en/config_general.png diff --git a/doc/amarok/config_osd.png b/doc/en/config_osd.png similarity index 100% rename from doc/amarok/config_osd.png rename to doc/en/config_osd.png diff --git a/doc/amarok/config_playback.png b/doc/en/config_playback.png similarity index 100% rename from doc/amarok/config_playback.png rename to doc/en/config_playback.png diff --git a/doc/amarok/config_scrobbler.png b/doc/en/config_scrobbler.png similarity index 100% rename from doc/amarok/config_scrobbler.png rename to doc/en/config_scrobbler.png diff --git a/doc/amarok/coverman.png b/doc/en/coverman.png similarity index 100% rename from doc/amarok/coverman.png rename to doc/en/coverman.png diff --git a/doc/amarok/dynamic_bar.png b/doc/en/dynamic_bar.png similarity index 100% rename from doc/amarok/dynamic_bar.png rename to doc/en/dynamic_bar.png diff --git a/doc/amarok/dynamic_settings.png b/doc/en/dynamic_settings.png similarity index 100% rename from doc/amarok/dynamic_settings.png rename to doc/en/dynamic_settings.png diff --git a/doc/amarok/equalizer.png b/doc/en/equalizer.png similarity index 100% rename from doc/amarok/equalizer.png rename to doc/en/equalizer.png diff --git a/doc/amarok/faq.docbook b/doc/en/faq.docbook similarity index 100% rename from doc/amarok/faq.docbook rename to doc/en/faq.docbook diff --git a/doc/amarok/file_browser.png b/doc/en/file_browser.png similarity index 100% rename from doc/amarok/file_browser.png rename to doc/en/file_browser.png diff --git a/doc/amarok/index.docbook b/doc/en/index.docbook similarity index 100% rename from doc/amarok/index.docbook rename to doc/en/index.docbook diff --git a/doc/amarok/logo.png b/doc/en/logo.png similarity index 100% rename from doc/amarok/logo.png rename to doc/en/logo.png diff --git a/doc/amarok/media_device.png b/doc/en/media_device.png similarity index 100% rename from doc/amarok/media_device.png rename to doc/en/media_device.png diff --git a/doc/amarok/menubar.png b/doc/en/menubar.png similarity index 100% rename from doc/amarok/menubar.png rename to doc/en/menubar.png diff --git a/doc/amarok/musicbrainz.png b/doc/en/musicbrainz.png similarity index 100% rename from doc/amarok/musicbrainz.png rename to doc/en/musicbrainz.png diff --git a/doc/amarok/pl_tip1.png b/doc/en/pl_tip1.png similarity index 100% rename from doc/amarok/pl_tip1.png rename to doc/en/pl_tip1.png diff --git a/doc/amarok/play_list.png b/doc/en/play_list.png similarity index 100% rename from doc/amarok/play_list.png rename to doc/en/play_list.png diff --git a/doc/amarok/player_window.png b/doc/en/player_window.png similarity index 100% rename from doc/amarok/player_window.png rename to doc/en/player_window.png diff --git a/doc/amarok/playlist_browser.png b/doc/en/playlist_browser.png similarity index 100% rename from doc/amarok/playlist_browser.png rename to doc/en/playlist_browser.png diff --git a/doc/amarok/playlist_window.png b/doc/en/playlist_window.png similarity index 100% rename from doc/amarok/playlist_window.png rename to doc/en/playlist_window.png diff --git a/doc/amarok/queue_manager.png b/doc/en/queue_manager.png similarity index 100% rename from doc/amarok/queue_manager.png rename to doc/en/queue_manager.png diff --git a/doc/amarok/quick.docbook b/doc/en/quick.docbook similarity index 100% rename from doc/amarok/quick.docbook rename to doc/en/quick.docbook diff --git a/doc/amarok/requirements.docbook b/doc/en/requirements.docbook similarity index 100% rename from doc/amarok/requirements.docbook rename to doc/en/requirements.docbook diff --git a/doc/amarok/rmb_menu.png b/doc/en/rmb_menu.png similarity index 100% rename from doc/amarok/rmb_menu.png rename to doc/en/rmb_menu.png diff --git a/doc/amarok/script_manager.png b/doc/en/script_manager.png similarity index 100% rename from doc/amarok/script_manager.png rename to doc/en/script_manager.png diff --git a/doc/amarok/status_bar.png b/doc/en/status_bar.png similarity index 100% rename from doc/amarok/status_bar.png rename to doc/en/status_bar.png diff --git a/doc/amarok/tab_lyrics.png b/doc/en/tab_lyrics.png similarity index 100% rename from doc/amarok/tab_lyrics.png rename to doc/en/tab_lyrics.png diff --git a/doc/amarok/tab_music.png b/doc/en/tab_music.png similarity index 100% rename from doc/amarok/tab_music.png rename to doc/en/tab_music.png diff --git a/doc/amarok/tab_wiki.png b/doc/en/tab_wiki.png similarity index 100% rename from doc/amarok/tab_wiki.png rename to doc/en/tab_wiki.png diff --git a/doc/amarok/using.docbook b/doc/en/using.docbook similarity index 100% rename from doc/amarok/using.docbook rename to doc/en/using.docbook diff --git a/doc/amarok/vis_window.png b/doc/en/vis_window.png similarity index 100% rename from doc/amarok/vis_window.png rename to doc/en/vis_window.png diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt deleted file mode 100644 index 99cd2fda..00000000 --- a/doc/es/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG es DESTINATION amarok ) diff --git a/doc/et/CMakeLists.txt b/doc/et/CMakeLists.txt deleted file mode 100644 index b09ffc5b..00000000 --- a/doc/et/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG et DESTINATION amarok ) diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt deleted file mode 100644 index 3bd465c7..00000000 --- a/doc/fr/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG fr DESTINATION amarok ) diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt deleted file mode 100644 index 07a32be8..00000000 --- a/doc/it/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG it DESTINATION amarok ) diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt deleted file mode 100644 index db8bb9c1..00000000 --- a/doc/man/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -file( GLOB _man_files *.1 ) -if( _man_files ) - INSTALL( - FILES ${_man_files} - DESTINATION ${MAN_INSTALL_DIR}/man1 - COMPONENT doc - ) -endif() - diff --git a/doc/nl/CMakeLists.txt b/doc/nl/CMakeLists.txt deleted file mode 100644 index 1b63b82e..00000000 --- a/doc/nl/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG nl DESTINATION amarok ) diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt deleted file mode 100644 index 8e5a48a7..00000000 --- a/doc/pl/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG pl DESTINATION amarok ) diff --git a/doc/pt/CMakeLists.txt b/doc/pt/CMakeLists.txt deleted file mode 100644 index eafa8c8e..00000000 --- a/doc/pt/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG pt DESTINATION amarok ) diff --git a/doc/pt_BR/CMakeLists.txt b/doc/pt_BR/CMakeLists.txt deleted file mode 100644 index 5263f9b8..00000000 --- a/doc/pt_BR/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG pt_BR DESTINATION amarok ) diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt deleted file mode 100644 index e390ba13..00000000 --- a/doc/ru/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( NOINDEX LANG ru DESTINATION amarok ) diff --git a/doc/sv/CMakeLists.txt b/doc/sv/CMakeLists.txt deleted file mode 100644 index 45827c23..00000000 --- a/doc/sv/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG sv DESTINATION amarok ) diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt deleted file mode 100644 index a8b8de4b..00000000 --- a/translations/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_auto_add_subdirectories() diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt deleted file mode 100644 index 4d7e4137..00000000 --- a/translations/messages/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_add_project_translations()