diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-06-01 12:23:16 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-06-01 12:23:16 +0200 |
commit | b726222b3b24c87972e772bb5f20e620784cfae5 (patch) | |
tree | e3800fa2560499a40cfd4478f87e8284d7c89374 /CustomTarget_imagelist.mk | |
parent | ca78b4f149dd82723a3b53a93063c881096fa71f (diff) |
helpcontent2: fix incremental rebuild of *.ilst files
They only depend on the perl script so won't get rebuild if images are
added or removed in source/media/
Use the same hack as in postprocess, make the targets PHONY so they
always get rebuilt.
Also fix a stray \ that caused the wrong output "[PRL] " to be printed
too early.
Change-Id: I03c8696591cf47395211feaed360fbd5642733a0
Diffstat (limited to 'CustomTarget_imagelist.mk')
-rw-r--r-- | CustomTarget_imagelist.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CustomTarget_imagelist.mk b/CustomTarget_imagelist.mk index b616d4de60..605b12aa31 100644 --- a/CustomTarget_imagelist.mk +++ b/CustomTarget_imagelist.mk @@ -19,7 +19,7 @@ $(eval $(call gb_CustomTarget_register_targets,helpcontent2/source/auxiliary,\ $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/images_helpimg.zip : \ $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst \ - $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/screenshotimg.ilst \ + $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/screenshotimg.ilst $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1) $(call gb_Helper_abbreviate_dirs, \ ILSTFILE=$(call var2file,$(shell $(gb_MKTEMP)),100,$(filter %.ilst,$^)) && \ @@ -30,6 +30,9 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/images_helpimg $(if $(findstring s,$(MAKEFLAGS)),> /dev/null) && \ rm -rf $${ILSTFILE}) +# helpimg.ilst and screenshotimg.ilst are phony to rebuild everything each time +.PHONY : $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst +.PHONY : $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/screenshotimg.ilst $(call gb_CustomTarget_get_workdir,helpcontent2/source/auxiliary)/helpimg.ilst : \ $(SRCDIR)/helpcontent2/helpers/create_ilst.pl |