office-gobmx/extras/Package_tplpresnt.mk
Caolán McNamara 55baaa526c 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
2024-11-27 12:33:43 +01:00

47 lines
1.1 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(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 \
Inspiration.otp \
Metropolis.otp \
Vintage.otp \
Focus.otp \
Grey_Elegant.otp \
Growing_Liberty.otp \
Freshes.otp \
Midnightblue.otp \
Vivid.otp \
Pencil.otp \
Blueprint_Plans.otp \
Portfolio.otp \
Progress.otp \
Beehive.otp \
Blue_Curve.otp \
Forestbird.otp \
Lights.otp \
Nature_Illustration.otp \
Piano.otp \
Sunset.otp \
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: