summaryrefslogtreecommitdiffstats
path: root/share/doc/psd/16.lex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/doc/psd/16.lex/Makefile')
-rw-r--r--share/doc/psd/16.lex/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/share/doc/psd/16.lex/Makefile b/share/doc/psd/16.lex/Makefile
index db04f12..6f18b52 100644
--- a/share/doc/psd/16.lex/Makefile
+++ b/share/doc/psd/16.lex/Makefile
@@ -3,9 +3,24 @@
DIR= psd/16.lex
SRCS= lex.ms
-MACROS= -msU
+MACROS= -ms
+GROFF= groff
+
+all: paper.ps paper.ascii
paper.ps: ${SRCS}
- ${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
+ ${TBL} ${SRCS} | ${GROFF} ${MACROS} - > ${.TARGET}
+
+paper.ascii: ${SRCS}
+ ${TBL} ${SRCS} | ${ROFF} ${MACROS} - > ${.TARGET}
+
+paper.ascii.gz: paper.ascii
+paper.ps.gz: paper.ps
+
+paper.ascii.gz paper.ps.gz:
+ gzip -f ${.TARGET:.gz=}
+
+clean:
+ rm -f paper.* *.spell errs Errs make.out Make.log *~
.include <bsd.doc.mk>
OpenPOWER on IntegriCloud