From 6a8045d492ce64a1af11a4418b6b71c2f466c75c Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 28 Sep 2015 00:16:07 +0200 Subject: [PATCH] Makefile: ensure mkdir before schedule-%.raw.xml --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d30c70d3d..c4d44bd53 100644 --- a/Makefile +++ b/Makefile @@ -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