You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
751 B

TEMPLATE = template.html
PANOC_BIN = pandoc
WGET_BIN = wget
XSLTPROC_BIN = xsltproc
all: web/style.css web/index.html web/contact.html web/legal.html web/about.html web/services.html web/news.html web/canary.html web/favicon.ico
clean:
-rm agendadulibre.xml news.md
web/style.css: style.css
cp -- '$<' '$@'
web/%.html: %.md $(TEMPLATE)
$(PANOC_BIN) --from markdown '$<' --output '$@' --standalone --template '$(TEMPLATE)'
.PHONY: agendadulibre.xml
agendadulibre.xml:
$(WGET_BIN) --output-document='$@' 'https://www.agendadulibre.org/events.xml?tag=cagull&future=false'
news.md: agendadulibre.xsl agendadulibre.xml
$(XSLTPROC_BIN) $^ > '$@'
web/favicon.ico:
wget --quiet --no-clobber --output-document=$@ https://thiscatdoesnotexist.com/