summaryrefslogtreecommitdiffstats
path: root/share/doc/usd/21.troff/Makefile
blob: ca45c1397c4a1bfa09221a0daeb1b48e51888419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#	@(#)Makefile	8.1 (Berkeley) 8/14/93
# $FreeBSD$

VOLUME=	usd/21.troff
SRCS=	m0 m0a m1 m2 m3 m4 m5
APNDX=	table1 table2
MACROS= m.mac
GROFF=	groff

all: paper.ps apndx.ps paper.txt apndx.txt

paper.ps: ${SRCS}
	${TBL} ${SRCS} | ${GROFF} ${MACROS} - > ${.TARGET}

apndx.ps: ${APNDX}
	${TBL} ${APNDX} | ${GROFF} - > ${.TARGET}

paper.txt: ${SRCS}
	${TBL} ${SRCS} | ${ROFF} ${MACROS} - > ${.TARGET}

apndx.txt: ${APNDX}
	${TBL} ${APNDX} | ${ROFF} - > ${.TARGET}

clean:
	rm -f paper.* apndx.* *.spell errs Errs make.out

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

.include <bsd.doc.mk>
OpenPOWER on IntegriCloud