aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 01:05:39 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 01:06:34 +0200
commitc8a470de42c0993f5d4621897f7b22887462fc32 (patch)
tree96b70a2bf23940bca9df658eee5fa6095c23dc61 /Makefile
parentc84c25dd28a406c5f8a8e40963536b088de3e1e8 (diff)
downloadmk-c8a470de42c0993f5d4621897f7b22887462fc32.tar.gz
Use Heirloom troff
Mg is now tested with both GNU and Heirloom troff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5ffed1e..485c8e3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@ all: README.pdf hacking.pdf
hacking.pdf: hacking.t g.tmac
perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\
- groff -Tps | ps2pdf - > hacking.pdf
+ troff -x3 | dpost | ps2pdf - > hacking.pdf
README.pdf: README.t g.tmac
- <README.t toc/toc groff -Tps | ps2pdf - > README.pdf
+ TROFFONTS=/usr/pkg/share/fonts/X11/TTF/ \
+ <README.t toc/toc troff -x3 | dpost | ps2pdf - > README.pdf