gbuild: Gallery: avoid spurious re-delivery

The .sdg/.sdv/.thm files are generated by gengal (i.e. the
Gallery_get_target) but are not targets, which means they will only be
delivered in a second make invocation because make requires running a
command to propagate out-of-date-ness.

Change-Id: Iddb2222151bdbcf93d79bd801fa30ab7d7fbd1d3
This commit is contained in:
Michael Stahl
2013-11-08 22:07:13 +01:00
parent 1b85ffca7d
commit 6c21f94dff

View File

@@ -82,6 +82,14 @@ $(call gb_Gallery_get_workdir,%).ulf : \
$(call gb_Gallery_get_workdir,%).str : $(gb_Gallery_TRANSLATE)
$(call gb_Gallery__command_str,$@,$*)
# there must be a rule for these since they are targets due to Package
$(call gb_Gallery_get_workdir,%).sdg :
touch $@
$(call gb_Gallery_get_workdir,%).sdv :
touch $@
$(call gb_Gallery_get_workdir,%).thm :
touch $@
.PHONY : $(call gb_Gallery_get_clean_target,%)
$(call gb_Gallery_get_clean_target,%) :
$(call gb_Output_announce,$*,$(false),GAL,1)