Generate autotopia html again

This commit is contained in:
Sandro - 2023-11-09 23:36:30 +01:00
parent 0d11699558
commit 95421cfa5a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@ DS_SCHEDULE=$(patsubst content/static/datenspuren/$(DS_YEAR)/fahrplan/schedule/%
DATESTAMP=build/.stamp-$(shell date +%Y-%m-%d)
# 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:
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:
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)
# sh scripts/gen_news.xml.sh $^ > $@
autotopia-events.xml: $(wildcard content/autotopia/events/*.xml)
sh scripts/gen_news.xml.sh $^ > $@
#build/autotopia/%html : STYLE=$(AUTOTOPIA_STYLE)
#build/autotopia/%.html : BASEURL=""
#build/autotopia/events/%.html : BASEURL="../"
#build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml
# $(call xml_process)
build/autotopia/%html : STYLE=$(AUTOTOPIA_STYLE)
build/autotopia/%.html : BASEURL=""
build/autotopia/events/%.html : BASEURL="../"
build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml
$(call xml_process)
### Die neuesten Chaosupdates holen ###
#$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP)