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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user