date and time created 86/04/28 17:22:07 by mckusick
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 29 Apr 1986 08:22:07 +0000 (00:22 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 29 Apr 1986 08:22:07 +0000 (00:22 -0800)
SCCS-vsn: old/lex/PSD.doc/Makefile 6.1

usr/src/old/lex/PSD.doc/Makefile [new file with mode: 0644]

diff --git a/usr/src/old/lex/PSD.doc/Makefile b/usr/src/old/lex/PSD.doc/Makefile
new file mode 100644 (file)
index 0000000..37cf348
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# 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%
+#
+SRCS=  lex.ms
+MACROS=        -msU
+PRINTER=Pdp
+TBL=   dtbl -${PRINTER}
+TROFF= ditroff -${PRINTER}
+
+paper: paper.${PRINTER}
+       lpr -${PRINTER} -n paper.${PRINTER}
+
+paper.${PRINTER}: ${SRCS}
+       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
+
+clean:
+       rm -f paper.[PT]* *.spell errs Errs make.out
+
+spell: ${SRCS}
+       @for i in ${SRCS}; do \
+               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
+       done