summaryrefslogtreecommitdiffstats
path: root/extras/Package_gallsystemstr.mk
diff options
context:
space:
mode:
Diffstat (limited to 'extras/Package_gallsystemstr.mk')
-rw-r--r--extras/Package_gallsystemstr.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/extras/Package_gallsystemstr.mk b/extras/Package_gallsystemstr.mk
new file mode 100644
index 000000000..bcae3f5aa
--- /dev/null
+++ b/extras/Package_gallsystemstr.mk
@@ -0,0 +1,18 @@
+# -*- 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/.
+#
+
+# defining extra package for that is a little hacky - maybe use PackageSet instead?
+$(eval $(call gb_Package_Package,extras_gallsystemstr,$(call gb_CustomTarget_get_workdir,extras/gallsysstr)))
+$(eval $(call gb_Package_use_customtarget,extras_gallsystemstr,extras/gallsysstr))
+
+$(eval $(call gb_Package_add_files,extras_gallsystemstr,$(LIBO_SHARE_FOLDER)/gallery,\
+ $(addsuffix .str,$(filter-out fontwork symbolshapes,$(system_galleries))) \
+))
+
+# vim: set noet sw=4 ts=4: