summaryrefslogtreecommitdiff
path: root/utils/cover/Makefile
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-03-10 19:50:41 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-03-10 19:50:41 +0100
commit0db9413cac3f5bba67ddeed129bfdb99d8a2b99a (patch)
tree3cb830dbee5796dc0e4137f7bbaa4d4830ff5af7 /utils/cover/Makefile
parentee634eae16f472c3ab1a69da0b8804d48dd9a793 (diff)
Cover creator code sketch
Diffstat (limited to 'utils/cover/Makefile')
-rw-r--r--utils/cover/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/cover/Makefile b/utils/cover/Makefile
new file mode 100644
index 0000000..2fddab0
--- /dev/null
+++ b/utils/cover/Makefile
@@ -0,0 +1,14 @@
+TARGET_PDF = cover.pdf
+
+.PHONY: pdf
+pdf: $(TARGET_PDF)
+
+$(TARGET_PDF): cover.svg
+ inkscape $^ --export-pdf=$@
+
+cover.svg: cover.scm # Cover data too
+ chibi-scheme cover.scm > cover.svg
+
+.PHONY: clean
+clean:
+ rm $(TARGET_PDF) cover.svg