aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..feef4f6
--- /dev/null
+++ b/makefile
@@ -0,0 +1,9 @@
+all: demo.svg
+
+%.pdf: %.typ
+ typst compile $<
+
+%.svg: %.pdf
+ pdf2svg $< $@
+ rsvg-convert --zoom 3 --background-color white --format svg --output $@ $@
+