summaryrefslogtreecommitdiff
path: root/desktop/Package_branding.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-30 17:44:21 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-30 17:50:43 +0200
commit674a7b44f3b9a90b0b6ed7fa8928ccd0efb597f8 (patch)
tree44cee4b100632398df260c567d5f713706b95d87 /desktop/Package_branding.mk
parent148c7629fc844db690075b9df62677b5e902c9f0 (diff)
install branding images using filelists
This also reinstates the use of brand_dev/intro.png for non-release builds, lost with gbuildization of instsetoo_native (commit 1d84e9d1d363bd550129efcbeafe670c0a049dd0). Change-Id: I43477505c5c9a3d6ec961d640608e6e91379868e
Diffstat (limited to 'desktop/Package_branding.mk')
-rw-r--r--desktop/Package_branding.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/Package_branding.mk b/desktop/Package_branding.mk
new file mode 100644
index 000000000000..47186bc5b4c9
--- /dev/null
+++ b/desktop/Package_branding.mk
@@ -0,0 +1,27 @@
+# -*- 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,desktop_branding,$(SRCDIR)/icon-themes/galaxy))
+
+$(eval $(call gb_Package_set_outdir,desktop_branding,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,desktop_branding,program,\
+ $(foreach image,$(filter $(BRAND_INTRO_IMAGES),$(DEFAULT_BRAND_IMAGES)),\
+ $(if $(filter intro.png,$(image)),\
+ $(if $(filter TRUE,$(ENABLE_RELEASE_BUILD)),brand,brand_dev)/$(image),\
+ brand/$(image) \
+ ) \
+ ) \
+))
+
+$(eval $(call gb_Package_add_files,desktop_branding,program/shell,\
+ $(addprefix brand/shell/,$(filter-out $(BRAND_INTRO_IMAGES),$(DEFAULT_BRAND_IMAGES))) \
+))
+
+# vim: set noet sw=4 ts=4: