Browse Source

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

svn path=/trunk/; revision=34314
tags/stw2018
paul 3 years ago
parent
commit
7cc2c7f3e1
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Makefile

+ 3
- 0
Makefile 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 $@

Loading…
Cancel
Save