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.

24 lines
649 B

  1. TEMPLATE = template.html
  2. PANOC_BIN = pandoc
  3. WGET_BIN = wget
  4. XSLTPROC_BIN = xsltproc
  5. 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
  6. clean:
  7. -rm agendadulibre.xml news.md
  8. web/style.css: style.css
  9. @cp -- '$<' '$@'
  10. web/%.html: %.md $(TEMPLATE)
  11. @$(PANOC_BIN) --from markdown '$<' --output '$@' --standalone --template '$(TEMPLATE)'
  12. .PHONY: agendadulibre.xml
  13. agendadulibre.xml:
  14. @$(WGET_BIN) --quiet --output-document='$@' 'https://www.agendadulibre.org/events.xml?tag=cagull&future=false'
  15. news.md: agendadulibre.xsl agendadulibre.xml
  16. @$(XSLTPROC_BIN) $^ > '$@'