shithub: neatpost

Download patch

ref: 60fd4c1038c15de25849494c7fd3df6e12b5bb67
parent: c283bc1914975d2aef33f727066821535ee56ba7
author: Jacob Moody <moody@posixcafe.org>
date: Mon Feb 13 21:43:40 EST 2023

correct mkfile

--- a/mkfile
+++ b/mkfile
@@ -1,9 +1,6 @@
 </$objtype/mkfile
 
-FDIR=/sys/lib/neatroff/font
-MDIR=/sys/lib/neatroff/tmac
-
-CFLAGS=-Fpw -DTROFFFDIR="/sys/lib/neatroff/font"
+CFLAGS=-Fpw -DTROFFFDIR="/sys/lib/troff/font"
 BIN=/$objtype/bin/
 TARG=\
 	ps\
@@ -22,3 +19,6 @@
 </sys/src/cmd/mkmany
 
 $O.pdf:	pdfext.$O
+
+$BIN/%:	$O.%
+	cp $O.$stem $BIN/'neat'$stem