From 4d2d168181d4413280e3163beec90b25ca945b76 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 20 Sep 2023 18:42:24 +0100 Subject: [PATCH] build system --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..935eec9 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ + +i= mv .tmp.$@ $@ + +CHARACTERS=kennocht fabricia + +all: $(addsuffix .pdf, $(CHARACTERS)) \ + $(addsuffix .ps, $(CHARACTERS)) \ + +%.pdf: %.md + pandoc -Vmargin-{left,right}=1.5cm -t latex -o .tmp.$@ $< && $i + +%.ps: %.pdf + pdftops $< .tmp.$@ && $i -- 2.30.2