summaryrefslogtreecommitdiff
path: root/extras/Module_extras.mk
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga.extern@allotropia.de>2023-10-05 18:21:48 +0200
committerAndras Timar <andras.timar@collabora.com>2023-10-05 21:37:09 +0200
commitf3a0550b1dd0914e8cbc026a90e10ee3ae2dc8e3 (patch)
treed9d27112a00012fb9f3c864d26f1a94f30190f00 /extras/Module_extras.mk
parent74410e57bda7ec355e92ced5c21c956f83a0f6b7 (diff)
tdf#101970 Introduce config option for building with or
without the not necessary template files. The default is building with all templates, otherwise we can use: --with-templates=no/yes --with-templates -->yes --without-templates -->no Change-Id: I13f5b411057254771ad4021aa9521c153702af16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157600 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'extras/Module_extras.mk')
-rw-r--r--extras/Module_extras.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/extras/Module_extras.mk b/extras/Module_extras.mk
index fb4ca1d4a354..497a188cc142 100644
--- a/extras/Module_extras.mk
+++ b/extras/Module_extras.mk
@@ -34,10 +34,6 @@ $(eval $(call gb_Module_add_targets,extras,\
Package_labels \
$(if $(filter WNT,$(OS)),Package_newfiles) \
Package_palettes \
- Package_templates \
- Package_tplpresnt \
- Package_tplwizard \
- Package_tplwizbitmap \
Package_tplwizdesktop \
Package_wordbook \
))
@@ -54,6 +50,15 @@ $(eval $(call gb_Module_add_targets,extras,\
))
endif
+ifneq ($(WITH_TEMPLATES),)
+$(eval $(call gb_Module_add_targets,extras,\
+ Package_templates \
+ Package_tplpresnt \
+ Package_tplwizard \
+ Package_tplwizbitmap \
+))
+endif
+
$(eval $(call gb_Module_add_targets,extras,\
Personas \
))