aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-01-21 11:57:20 +0100
committerlonkaars <loek@pipeframe.xyz>2024-01-21 11:57:20 +0100
commitd25d51a2132df42e314379f4394c9f8ca61d67de (patch)
treeb3c6e18b15089d06defd107696a12ab3f864a34f /makefile
initial commit
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 $@ $@
+