diff --git a/Makefile b/Makefile index 67722d2c9b..f644b38af3 100644 --- a/Makefile +++ b/Makefile @@ -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 $@