|
|
|
@ -55,10 +55,11 @@ CLEAN=$(CONTENT) $(NEWSFILES) $(WWW_CCC_DE_UPDATES) $(DS_PAGES)
|
|
|
|
|
|
|
|
|
|
NOVALID_IGNORE:=false
|
|
|
|
|
|
|
|
|
|
define xml_to_html
|
|
|
|
|
define xml_process
|
|
|
|
|
$(VALIDATOR) $(VFLAGS) $<
|
|
|
|
|
$(PROCESSOR) $(PFLAGS) -o $@ $(STYLE) $<
|
|
|
|
|
$(VALIDATOR) $(VFLAGS) $@ || $(NOVALID_IGNORE) || { rm $@ ; exit 1 ; }
|
|
|
|
|
$(VALIDATOR) $(VFLAGS) $@ || $(NOVALID_IGNORE) || \
|
|
|
|
|
{ touch -m -t 197001010000 Makefile $@ ; exit 1 ; }
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -83,25 +84,25 @@ news.xml: $(NEWSITEMS)
|
|
|
|
|
sh scripts/gen_news.xml.sh $^ > $@
|
|
|
|
|
|
|
|
|
|
$(NEWSFILES): news.xml $(NAVIGATION) $(STYLE)
|
|
|
|
|
$(call xml_to_html)
|
|
|
|
|
$(call xml_process)
|
|
|
|
|
|
|
|
|
|
build/%.html: content/pages/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES)
|
|
|
|
|
$(call xml_to_html)
|
|
|
|
|
$(call xml_process)
|
|
|
|
|
|
|
|
|
|
build/news/%.html : BASEURL="../"
|
|
|
|
|
build/news/%.html: content/news/%.xml $(STYLE) $(NAVIGATION) $(WWW_CCC_DE_UPDATES)
|
|
|
|
|
$(call xml_to_html)
|
|
|
|
|
$(call xml_process)
|
|
|
|
|
|
|
|
|
|
build/cgi-bin/search.html : BASEURL="../"
|
|
|
|
|
build/cgi-bin/search.html: content/cgi-bin/search.xml $(STYLE) $(NAVIGATION)
|
|
|
|
|
$(call xml_to_html)
|
|
|
|
|
$(call xml_process)
|
|
|
|
|
|
|
|
|
|
# -- MNE-20060421: Lt. Astro geht Validierung noch nicht mit dem Fahrplan,
|
|
|
|
|
# daher fuer Datenspuren auskommentiert
|
|
|
|
|
build/datenspuren/%html : STYLE=$(DS_STYLE)
|
|
|
|
|
build/datenspuren/%html : NOVALID_IGNORE=true
|
|
|
|
|
build/datenspuren/%.html: content/datenspuren/%.xml $(DS_STYLE)
|
|
|
|
|
$(call xml_to_html)
|
|
|
|
|
$(call xml_process)
|
|
|
|
|
|
|
|
|
|
content/datenspuren/schedule.xml: content/static/datenspuren/fahrplan/days.de.html
|
|
|
|
|
cp $< $@
|
|
|
|
|