summaryrefslogtreecommitdiff
path: root/utils/cover/Makefile
diff options
context:
space:
mode:
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