new doc makefiles
[unix-history] / usr / src / old / roff / SMM.doc / termdesc / Makefile
index e6b22a8..b3cc5f8 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=   smm/20.termdesc
 SRCS=  termdesc.me
 MACROS=        -me
 SRCS=  termdesc.me
 MACROS=        -me
-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>