chiark / gitweb /
fix build system
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Sep 2023 17:47:42 +0000 (18:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Sep 2023 17:47:42 +0000 (18:47 +0100)
.gitignore
Makefile

index 5c2f0a17d433ff7be49ff7a2c996179ec2dd3979..a1363379944a5745ceb49c0e493d80eb9335c79a 100644 (file)
@@ -1,2 +1 @@
 *.pdf
-*.ps
index 935eec92d41205e2f0db9bd02bec54d836c39962..00cf5fc36846dfba9add5793a86bc35a982b2cbd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,11 @@
 
 i= mv .tmp.$@ $@
 
+SHELL=/bin/bash
+
 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
+%.pdf:         %.md Makefile
+       pandoc -Vmargin-{top,left,right,bottom}=20mm -t latex -o .tmp.$@ $< && $i