aboutsummaryrefslogtreecommitdiff
path: root/share/doc/psd/06.Clang/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/doc/psd/06.Clang/Makefile')
-rw-r--r--share/doc/psd/06.Clang/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/share/doc/psd/06.Clang/Makefile b/share/doc/psd/06.Clang/Makefile
index fa688c5fd3b3..6116fa405b0d 100644
--- a/share/doc/psd/06.Clang/Makefile
+++ b/share/doc/psd/06.Clang/Makefile
@@ -3,9 +3,24 @@
DIR= psd/06.Clang
SRCS= Clang.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>