diff options
Diffstat (limited to 'kword/templates')
-rw-r--r-- | kword/templates/CMakeLists.txt | 10 | ||||
-rw-r--r-- | kword/templates/CardsAndLabels/CMakeLists.txt | 22 | ||||
-rw-r--r-- | kword/templates/Envelopes/CMakeLists.txt | 22 | ||||
-rw-r--r-- | kword/templates/Wordprocessing/CMakeLists.txt | 22 |
4 files changed, 76 insertions, 0 deletions
diff --git a/kword/templates/CMakeLists.txt b/kword/templates/CMakeLists.txt new file mode 100644 index 000000000..61ba22d22 --- /dev/null +++ b/kword/templates/CMakeLists.txt @@ -0,0 +1,10 @@ +############################################################################### +# Trinity KOffice # +# --------------- # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +############################################################################### + +add_subdirectory(CardsAndLabels) +add_subdirectory(Envelopes) +add_subdirectory(Wordprocessing)
\ No newline at end of file diff --git a/kword/templates/CardsAndLabels/CMakeLists.txt b/kword/templates/CardsAndLabels/CMakeLists.txt new file mode 100644 index 000000000..2cc740141 --- /dev/null +++ b/kword/templates/CardsAndLabels/CMakeLists.txt @@ -0,0 +1,22 @@ +############################################################################### +# Trinity KOffice # +# --------------- # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +############################################################################### + +set(TEMPLATE_SUBDIR "CardsAndLabels") +file(GLOB DESKTOP_FILES *.desktop) +file(GLOB KWORD_TEMPLATES *.kwt) + +install( + FILES .directory ${DESKTOP_FILES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR} +) + +install( + FILES ${KWORD_TEMPLATES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR}/.source +) + +tde_install_icons()
\ No newline at end of file diff --git a/kword/templates/Envelopes/CMakeLists.txt b/kword/templates/Envelopes/CMakeLists.txt new file mode 100644 index 000000000..47ae2fc40 --- /dev/null +++ b/kword/templates/Envelopes/CMakeLists.txt @@ -0,0 +1,22 @@ +############################################################################### +# Trinity KOffice # +# --------------- # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +############################################################################### + +set(TEMPLATE_SUBDIR "Envelopes") +file(GLOB DESKTOP_FILES *.desktop) +file(GLOB KWORD_TEMPLATES *.kwt) + +install( + FILES .directory ${DESKTOP_FILES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR} +) + +install( + FILES ${KWORD_TEMPLATES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR}/.source +) + +tde_install_icons()
\ No newline at end of file diff --git a/kword/templates/Wordprocessing/CMakeLists.txt b/kword/templates/Wordprocessing/CMakeLists.txt new file mode 100644 index 000000000..1c1611ecf --- /dev/null +++ b/kword/templates/Wordprocessing/CMakeLists.txt @@ -0,0 +1,22 @@ +############################################################################### +# Trinity KOffice # +# --------------- # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +############################################################################### + +set(TEMPLATE_SUBDIR "Normal") +file(GLOB DESKTOP_FILES *.desktop) +file(GLOB KWORD_TEMPLATES *.kwt) + +install( + FILES .directory ${DESKTOP_FILES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR} +) + +install( + FILES ${KWORD_TEMPLATES} + DESTINATION ${DATA_INSTALL_DIR}/kword/templates/${TEMPLATE_SUBDIR}/.source +) + +tde_install_icons()
\ No newline at end of file |