Generate autotopia html again
This commit is contained in:
parent
0d11699558
commit
95421cfa5a
16
Makefile
16
Makefile
|
@ -50,7 +50,7 @@ DS_SCHEDULE=$(patsubst content/static/datenspuren/$(DS_YEAR)/fahrplan/schedule/%
|
||||||
DATESTAMP=build/.stamp-$(shell date +%Y-%m-%d)
|
DATESTAMP=build/.stamp-$(shell date +%Y-%m-%d)
|
||||||
|
|
||||||
# Dateinamen der zu erzeugenden html-Dateien:
|
# Dateinamen der zu erzeugenden html-Dateien:
|
||||||
CONTENT=$(PAGES) $(NEWS_PAGES) $(DS_PAGES) $(DS_FEEDS) $(NEWSFILES) build/calendar.html
|
CONTENT=$(PAGES) $(NEWS_PAGES) $(DS_PAGES) $(DS_FEEDS) $(AUTOTOPIA_PAGES) $(NEWSFILES) build/calendar.html
|
||||||
|
|
||||||
# 'normale' Seiten:
|
# 'normale' Seiten:
|
||||||
PAGES:=$(patsubst content/pages/%.xml, build/%.html, $(wildcard content/pages/*.xml))
|
PAGES:=$(patsubst content/pages/%.xml, build/%.html, $(wildcard content/pages/*.xml))
|
||||||
|
@ -346,14 +346,14 @@ build/datenspuren/2014/mitschnitte-rss.xml: content/news/ds14-mitschnitte-online
|
||||||
build/datenspuren/$(DS_YEAR)/pois.json:
|
build/datenspuren/$(DS_YEAR)/pois.json:
|
||||||
wget -O $@ --post-data="data=[out:json];($(foreach a, 'amenity'='restaurant' 'amenity'='fast_food' 'amenity'='cafe' 'amenity'='ice_cream' 'amenity'='bakery' 'shop'='convenience' 'shop'='supermarket' 'shop'='tobacco' 'amenity'='pub' 'amenity'='biergarten' 'amenity'='drinking_water', $(foreach t, node way relation, $t(51.06,13.70,51.10,13.74)[${a}];)));out center qt;" http://overpass-api.de/api/interpreter
|
wget -O $@ --post-data="data=[out:json];($(foreach a, 'amenity'='restaurant' 'amenity'='fast_food' 'amenity'='cafe' 'amenity'='ice_cream' 'amenity'='bakery' 'shop'='convenience' 'shop'='supermarket' 'shop'='tobacco' 'amenity'='pub' 'amenity'='biergarten' 'amenity'='drinking_water', $(foreach t, node way relation, $t(51.06,13.70,51.10,13.74)[${a}];)));out center qt;" http://overpass-api.de/api/interpreter
|
||||||
|
|
||||||
#autotopia-events.xml: $(wildcard content/autotopia/events/*.xml)
|
autotopia-events.xml: $(wildcard content/autotopia/events/*.xml)
|
||||||
# sh scripts/gen_news.xml.sh $^ > $@
|
sh scripts/gen_news.xml.sh $^ > $@
|
||||||
|
|
||||||
#build/autotopia/%html : STYLE=$(AUTOTOPIA_STYLE)
|
build/autotopia/%html : STYLE=$(AUTOTOPIA_STYLE)
|
||||||
#build/autotopia/%.html : BASEURL=""
|
build/autotopia/%.html : BASEURL=""
|
||||||
#build/autotopia/events/%.html : BASEURL="../"
|
build/autotopia/events/%.html : BASEURL="../"
|
||||||
#build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml
|
build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml
|
||||||
# $(call xml_process)
|
$(call xml_process)
|
||||||
|
|
||||||
### Die neuesten Chaosupdates holen ###
|
### Die neuesten Chaosupdates holen ###
|
||||||
#$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP)
|
#$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP)
|
||||||
|
|
Loading…
Reference in New Issue