summaryrefslogtreecommitdiffstats
path: root/packimages/Package_images.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-02-16 20:18:13 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-02-17 20:02:45 +0100
commit5a4e4d5543edd47f4b411c0f2fa43d1a0e6a1ff7 (patch)
treefaa1490797f1d409ad61a84e2c88b82ec81e57e0 /packimages/Package_images.mk
parentlibjvmfwk is needed even when building without java (diff)
downloadcore-5a4e4d5543edd47f4b411c0f2fa43d1a0e6a1ff7.tar.gz
core-5a4e4d5543edd47f4b411c0f2fa43d1a0e6a1ff7.zip
packimages: convert to gbuild
Diffstat (limited to 'packimages/Package_images.mk')
-rw-r--r--packimages/Package_images.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/packimages/Package_images.mk b/packimages/Package_images.mk
new file mode 100644
index 000000000000..157a9e5f5657
--- /dev/null
+++ b/packimages/Package_images.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Package_Package,packimages_images,$(WORKDIR)/CustomTarget/packimages/pack))
+
+$(eval $(call gb_Package_add_customtarget,packimages_images,packimages/pack))
+
+# hack to rerun custom target's makefile every time
+$(eval $(call gb_CustomTarget_add_outdir_dependencies,packimages/pack,\
+ packimages_rerun \
+))
+packimages_rerun:
+
+$(eval $(call gb_Package_add_file,packimages_images,bin/images.zip,images.zip))
+
+$(foreach theme,$(WITH_THEMES) brand,\
+$(eval $(call gb_Package_add_file,packimages_images,bin/images_$(theme).zip,images_$(theme).zip)))
+
+# vim: set noet sw=4 ts=4: