summaryrefslogtreecommitdiffstats
path: root/share/doc/psd/17.m4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/doc/psd/17.m4/Makefile')
-rw-r--r--share/doc/psd/17.m4/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/share/doc/psd/17.m4/Makefile b/share/doc/psd/17.m4/Makefile
index 6388cb1..0f99fff 100644
--- a/share/doc/psd/17.m4/Makefile
+++ b/share/doc/psd/17.m4/Makefile
@@ -4,8 +4,23 @@
DIR= psd/17.m4
SRCS= m4.ms
MACROS= -msU
+GROFF= groff
+
+all: paper.ps paper.ascii
paper.ps: ${SRCS}
- ${ROFF} ${SRCS} > ${.TARGET}
+ ${GROFF} ${MACROS} ${SRCS} > ${.TARGET}
+
+paper.ascii: ${SRCS}
+ ${ROFF} ${MACROS} ${SRCS} > ${.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