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

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