summaryrefslogtreecommitdiff
path: root/Makefile
blob: 69cbde3a2db7d6f2365fcc88fd2769b2c8babebb (plain)
  1. PAPERS = $(wildcard report/*/*.pdf)
  2. all: render cal-render publish
  3. preview:
  4. quarto preview
  5. render:
  6. quarto render
  7. publish:
  8. rsync -avH --delete-after _site/ www-ruc@xayide.jones.dk:public_websites/play.abcde.../
  9. cal-all: cal-fetch cal-render cal-publish
  10. cal-fetch:
  11. bin/cal-fetch.sh
  12. cal-render:
  13. bin/cal-render.sh
  14. cal-publish:
  15. rsync -av --delete-after events/study www-ruc@xayide.jones.dk:public_websites/play.abcde.../events/
  16. frontpages: $(addsuffix /paper.svg,$(dir $(PAPERS)))
  17. %.svg:
  18. # pdftocairo -f 1 -l 1 -svg "$(wildcard $(dir $@)/*.pdf)" "$@"
  19. # dvisvgm --pdf --optimize --font-format=woff2 --output=$@ "$(wildcard $(dir $@)/*.pdf)"
  20. # dvisvgm --pdf --optimize --no-fonts --output=$@ "$(wildcard $(dir $@)/*.pdf)"
  21. pdf2svg "$(wildcard $(dir $@)/*.pdf)" $@ 1