4.3BSD/usr/doc/usd/22.memacros/Makefile

#
# 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.2 (Berkeley) 4/16/86
#
SRCS=	intro.me
DEVICE=	dp
TROFF=	ditroff -P${DEVICE}

paper:	intro.${DEVICE}
	lpr -P${DEVICE} -n intro.${DEVICE}

intro.${DEVICE}: ${SRCS}
	${TROFF} -me -t ${SRCS} > intro.${DEVICE}

clean:
	rm -f intro.${DEVICE} *.spell errs Errs make.out

spell:	${SRCS}
	@for i in ${SRCS}; do \
		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
	done