summaryrefslogtreecommitdiff
path: root/CustomTarget_imagelist.mk
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2016-08-30 15:53:18 +0200
committerOlivier Hallot <olivier.hallot@edx.srv.br>2016-11-04 13:41:32 +0000
commit98d298e4ef2bc9ad9f4e2d2bb83c3183e3ee0977 (patch)
tree5a3cf064dcc0cc869060feb7d0560cd466aed8da /CustomTarget_imagelist.mk
parentbe1c45a0094513b93bbe9747398be1cab6a0abe0 (diff)
Create a new image list for 'make postprocess'
with screenshot images corrected path as indicated Change-Id: I3d81c88a4ae002f12247ec4a5587e50f9927a005 Reviewed-on: https://gerrit.libreoffice.org/28499 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'CustomTarget_imagelist.mk')
-rw-r--r--CustomTarget_imagelist.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/CustomTarget_imagelist.mk b/CustomTarget_imagelist.mk
index 027cf2c317..ee42949fe0 100644
--- a/CustomTarget_imagelist.mk
+++ b/CustomTarget_imagelist.mk
@@ -11,6 +11,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,helpcontent2/source/auxiliary))
$(eval $(call gb_CustomTarget_register_targets,helpcontent2/source/auxiliary,\
helpimg.ilst \
+ screenshotimg.ilst \
))
$(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst : \
@@ -21,4 +22,12 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst :
mv $@.out $@ \
)
+$(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/screenshotimg.ilst : \
+ $(SRCDIR)/helpcontent2/helpers/create_ilst.pl
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1)
+ $(call gb_Helper_abbreviate_dirs,\
+ $(PERL) $< -dir=$(SRCDIR)/helpcontent2/source/media/screenshots -pre=media/screenshots > $@.out && \
+ mv $@.out $@ \
+ )
+
# vim: set noet sw=4 ts=4: