update sources-files in some occasions where referenced files are removed

svn path=/trunk/; revision=34314
This commit is contained in:
paul 2016-09-21 14:21:53 +00:00
parent 6e88fc4bba
commit 7cc2c7f3e1

View File

@ -56,6 +56,9 @@ d_year.en.xml: d_month.en.xml
.PHONY: SOURCEUPDATES
SOURCEUPDATES: $(shell find ./ -name '*.sources')
SOURCEREQS = $(shell ./build/source_globber.sh sourceglobs $@ |sed -r 's;$$;.??.xml;g')
SOURCEDIRS = $(shell sed -rn 's;^(.*/)[^/]*:(\[\]|global)$$;\1;gp' $@)
.SECONDEXPANSION:
%.sources: $$(SOURCEREQS)
touch $@
%.sources: $$(SOURCEDIRS)
touch $@