PAPERS = $(wildcard report/*/*.pdf) all: render cal-render publish preview: quarto preview render: quarto render publish: rsync -avH --delete-after _site/ www-ruc@xayide.jones.dk:public_websites/play.abcde.../ cal-all: cal-fetch cal-render cal-publish cal-fetch: bin/cal-fetch.sh cal-render: bin/cal-render.sh cal-publish: rsync -av --delete-after events/study www-ruc@xayide.jones.dk:public_websites/play.abcde.../events/ frontpages: $(addsuffix /paper.svg,$(dir $(PAPERS))) %.svg: # pdftocairo -f 1 -l 1 -svg "$(wildcard $(dir $@)/*.pdf)" "$@" # dvisvgm --pdf --optimize --font-format=woff2 --output=$@ "$(wildcard $(dir $@)/*.pdf)" dvisvgm --pdf --optimize --no-fonts --output=$@ "$(wildcard $(dir $@)/*.pdf)" # pdf2svg "$(wildcard $(dir $@)/*.pdf)" $@ 1