xref: /original-bsd/old/refer/USD.doc/refer/Makefile (revision 79cf7955)
1#
2# Copyright (c) 1986 Regents of the University of California.
3# All rights reserved.  The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6#	@(#)Makefile	6.1 (Berkeley) 06/02/86
7#
8# refer.mac should be typed on a 12 pitch Daisy wheel printer
9SRCS=	refer.bib
10MACROS=	-msU
11PRINTER=Pdp
12REFER=	refer -p biblio
13TROFF=	ditroff -${PRINTER}
14
15paper:	paper.${PRINTER}
16	lpr -${PRINTER} -n paper.${PRINTER}
17
18paper.${PRINTER}: ${SRCS}
19	${REFER} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
20
21clean:
22	rm -f paper.[PT]* *.spell errs Errs make.out
23
24spell:	${SRCS}
25	@for i in ${SRCS}; do \
26		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
27	done
28