diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-26 16:33:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-27 12:33:43 +0100 |
commit | 55baaa526c301d86d09400a9a50d482fb14dd2c2 (patch) | |
tree | 7939ae02caf6ff923fb9033a4ac1e0688e9bffac /extras/Package_tplpresnt.mk | |
parent | 7dfa6d794d52e275b43da82cce2ed86a5621a4c5 (diff) |
for --without-templates still generate the template/common/presnt dir
but leave it empty
Change-Id: Ie7f95f6d01c669598305e24472c357c1b92ad1f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177353
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Rashesh Padia <rashesh.padia@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit e393a739fa890aeb77f189b62de4356043211490)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177392
Tested-by: Jenkins
Diffstat (limited to 'extras/Package_tplpresnt.mk')
-rw-r--r-- | extras/Package_tplpresnt.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/Package_tplpresnt.mk b/extras/Package_tplpresnt.mk index cb3cf2562245..a9e0b723cbf8 100644 --- a/extras/Package_tplpresnt.mk +++ b/extras/Package_tplpresnt.mk @@ -9,6 +9,8 @@ $(eval $(call gb_Package_Package,extras_tplpresnt,$(gb_CustomTarget_workdir)/extras/source/templates/presnt)) +ifneq ($(WITH_TEMPLATES),) + $(eval $(call gb_Package_add_files,extras_tplpresnt,$(LIBO_SHARE_FOLDER)/template/common/presnt,\ Candy.otp \ DNA.otp \ @@ -35,4 +37,11 @@ $(eval $(call gb_Package_add_files,extras_tplpresnt,$(LIBO_SHARE_FOLDER)/templat Yellow_Idea.otp \ )) +else + +# For without-templates, still include the empty directory +$(eval $(call gb_Package_add_empty_directory,extras_tplpresnt,$(LIBO_SHARE_FOLDER)/template/common/presnt)) + +endif + # vim: set noet sw=4 ts=4: |