diff options
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/Module_postprocess.mk | 6 | ||||
-rw-r--r-- | postprocess/Package_images_install.mk | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/postprocess/Module_postprocess.mk b/postprocess/Module_postprocess.mk index 9ed1a758e587..1a52832f0c79 100644 --- a/postprocess/Module_postprocess.mk +++ b/postprocess/Module_postprocess.mk @@ -26,4 +26,10 @@ $(eval $(call gb_Module_add_targets,postprocess,\ )) endif +ifneq ($(gb_RUNNABLE_INSTDIR),) +$(eval $(call gb_Module_add_targets,postprocess,\ + Package_images_install \ +)) +endif + # vim: set noet sw=4 ts=4: diff --git a/postprocess/Package_images_install.mk b/postprocess/Package_images_install.mk new file mode 100644 index 000000000000..1759d6cd9d2a --- /dev/null +++ b/postprocess/Package_images_install.mk @@ -0,0 +1,20 @@ +# -*- 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,postprocess_images_install,$(call gb_CustomTarget_get_workdir,postprocess/images))) + +$(eval $(call gb_Package_set_outdir,postprocess_images_install,$(INSTDIR))) + +$(eval $(call gb_Package_add_files,postprocess_images_install,share/config,\ + images_brand.zip \ + $(if $(filter default,$(WITH_THEMES)),images.zip) \ + $(foreach theme,$(filter-out default,$(WITH_THEMES)),images_$(theme).zip) \ +)) + +# vim: set noet sw=4 ts=4: |