From 95421cfa5a1f71ca225068ed223090c76a9aa147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 9 Nov 2023 23:36:30 +0100 Subject: [PATCH] Generate autotopia html again --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 686d899c5..044bd6f6a 100644 --- a/Makefile +++ b/Makefile @@ -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)