new doc makefiles
[unix-history] / usr / src / share / doc / usd / 18.msdiffs / Makefile
index 92dfc95..848d44b 100644 (file)
@@ -1,25 +1,10 @@
-#
-# Copyright (c) 1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    6.1 (Berkeley) %G%
-#
+#      @(#)Makefile    6.2 (Berkeley) %G%
+
+DIR=   usd/21.msdiffs
 SRCS=  ms.diffs
 MACROS=        -msU
 SRCS=  ms.diffs
 MACROS=        -msU
-PRINTER=Pdp
-TROFF= ditroff -${PRINTER}
-
-paper: paper.${PRINTER}
-       lpr -${PRINTER} -n paper.${PRINTER}
 
 paper.${PRINTER}: ${SRCS}
 
 paper.${PRINTER}: ${SRCS}
-       ${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
-
-clean:
-       rm -f paper.[PT]* *.spell errs Errs make.out
+       ${ROFF} ${SRCS} > ${.TARGET}
 
 
-spell: ${SRCS}
-       @for i in ${SRCS}; do \
-               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
-       done
+.include <bsd.doc.mk>