Makefile: ensure mkdir before schedule-%.raw.xml

This commit is contained in:
Astro 2015-09-28 00:16:07 +02:00
parent 02a5520bfd
commit 6a8045d492
1 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ export: www
$(DATESTAMP):
mkdir -p build
mkdir -p build/datenspuren/$(DS_YEAR)/
$(RM) $(wildcard build/.stamp-*)
touch $@
@ -271,7 +272,7 @@ build/news/%.html: content/news/%.xml $(STYLE) $(NAVIGATION) $(DATESTAMP)
# Datenspuren
build/datenspuren/$(DS_YEAR)/schedule-%.raw.xml: content/static/datenspuren/$(DS_YEAR)/fahrplan/schedule/%.html scripts/hyphenate.sed
build/datenspuren/$(DS_YEAR)/schedule-%.raw.xml: content/static/datenspuren/$(DS_YEAR)/fahrplan/schedule/%.html scripts/hyphenate.sed $(DATESTAMP)
scripts/hyphenate.sed < $< > $@
build/datenspuren/$(DS_YEAR)/schedule-%.xml : VFLAGS_IN=$(VFLAGS) --html
build/datenspuren/$(DS_YEAR)/schedule-%.xml : PFLAGS+=--html