summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-23 15:38:37 +0200
committerSlávek Banko <[email protected]>2021-07-23 15:38:37 +0200
commitaf8f1ac02df8fed83077855694fe7254a6ea9bd2 (patch)
tree66386975bce2d51bb1e0b0b7ecf1d51edf8efdfc /CMakeLists.txt
parentdfaeba947ef2cb4e9421d86cea696f81dd4db109 (diff)
downloadkbibtex-af8f1ac02df8fed83077855694fe7254a6ea9bd2.tar.gz
kbibtex-af8f1ac02df8fed83077855694fe7254a6ea9bd2.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 764cd21..edc9036 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,8 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( xslt )
-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