summaryrefslogtreecommitdiff
path: root/CustomTarget_imagelist.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-02-23 12:03:53 +0100
committerDavid Tardon <dtardon@redhat.com>2013-02-26 15:29:47 +0100
commit81f8e6cfb8eae13a73536edcb08a09d73cf2b864 (patch)
tree6a26080c76061b5d45b62d6c51551f6ece735e63 /CustomTarget_imagelist.mk
parent7c7158b88241fbd10350495567eb5b8420755780 (diff)
gbuildize helpcontent2
dmake is dead, long live gbuild! Change-Id: I636ea4ed7ee08a748b96973ae076a5e47928d4ca
Diffstat (limited to 'CustomTarget_imagelist.mk')
-rw-r--r--CustomTarget_imagelist.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/CustomTarget_imagelist.mk b/CustomTarget_imagelist.mk
new file mode 100644
index 0000000000..027cf2c317
--- /dev/null
+++ b/CustomTarget_imagelist.mk
@@ -0,0 +1,24 @@
+# -*- 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_CustomTarget_CustomTarget,helpcontent2/source/auxiliary))
+
+$(eval $(call gb_CustomTarget_register_targets,helpcontent2/source/auxiliary,\
+ helpimg.ilst \
+))
+
+$(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst : \
+ $(SRCDIR)/helpcontent2/helpers/create_ilst.pl
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
+ $(call gb_Helper_abbreviate_dirs,\
+ $(PERL) $< -dir=$(SRCDIR)/icon-themes/galaxy/res/helpimg > $@.out && \
+ mv $@.out $@ \
+ )
+
+# vim: set noet sw=4 ts=4: