diff options
author | Slávek Banko <[email protected]> | 2021-06-17 10:32:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-06-17 10:32:53 +0200 |
commit | 6b1d512016b9580744f8367cc85ac08d173e1bd7 (patch) | |
tree | dc3a878e79e97263f24a2c1ed385f1c70f0d78dc | |
parent | 8e3bd36521469a034d667855967bb847efb4360e (diff) | |
download | abakus-6b1d512016b9580744f8367cc85ac08d173e1bd7.tar.gz abakus-6b1d512016b9580744f8367cc85ac08d173e1bd7.zip |
Update to use tde_conditional_add_project_… rules
for documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | translations/CMakeLists.txt | 1 | ||||
-rw-r--r-- | translations/messages/CMakeLists.txt | 1 |
4 files changed, 6 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d9b6247..f7c08c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( icons ) add_subdirectory( src ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) -tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations ) + + +##### 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 fde3c3e..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_add_project_docs() diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt deleted file mode 100644 index 42b186a..0000000 --- a/translations/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories() diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt deleted file mode 100644 index 24e3bd8..0000000 --- a/translations/messages/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_add_project_translations() |