diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-27 13:57:05 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-28 16:34:24 +0200 |
commit | 9c8786c3dff6ebe206488cdc599541b2acfd2146 (patch) | |
tree | 96c13ab398700418a6356b887c6ae58207a8a26c | |
parent | f8bf72f44a39a01d421e1dadebc1aaf25151a8d2 (diff) |
gbuild: copy image zips to instdir
Change-Id: I073be89556091321543adfe246d751e5f4df119a
-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: |