summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 807e0a8..bdfcea1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PAPERS = $(wildcard report/*/*.pdf)
+
all: render cal-render publish
preview:
@@ -19,3 +21,11 @@ cal-render:
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