date and time created 86/04/24 12:15:55 by mckusick
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 25 Apr 1986 03:15:55 +0000 (19:15 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 25 Apr 1986 03:15:55 +0000 (19:15 -0800)
SCCS-vsn: games/trek/USD.doc/Makefile 6.1

usr/src/games/trek/USD.doc/Makefile [new file with mode: 0644]

diff --git a/usr/src/games/trek/USD.doc/Makefile b/usr/src/games/trek/USD.doc/Makefile
new file mode 100644 (file)
index 0000000..9d3dfa8
--- /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=  trek.me
+MACROS=        -me
+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