xref: /386bsd/usr/src/share/mk/bsd.doc.mk (revision a2142627)
1# $Id: $
2
3PRINTER=psc
4
5BIB?=		bib
6EQN?=		deqn -P${PRINTER}
7GREMLIN?=	grn -P${PRINTER}
8GRIND?=		vgrind -f
9INDXBIB?=	indxbib
10PIC?=		pic -P${PRINTER}
11REFER?=		refer
12ROFF?=		ditroff -t ${MACROS} ${PAGES} -P${PRINTER}
13SOELIM?=	soelim
14TBL?=		dtbl -P${PRINTER}
15
16.PATH: ${.CURDIR}
17
18.if !target(print)
19print: paper.${PRINTER}
20	lpr -P${PRINTER} paper.${PRINTER}
21.endif
22
23clean cleandir:
24	rm -f paper.* [eE]rrs mklog ${CLEANFILES}
25
26FILES?=	${SRCS}
27install:
28	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
29	    Makefile ${FILES} ${EXTRA} ${DESTDIR}${BINDIR}/${DIR}
30
31spell: ${SRCS}
32	spell ${SRCS} | sort | comm -23 - spell.ok > paper.spell
33
34BINDIR?=	/usr/share/doc
35BINGRP?=	bin
36BINOWN?=	bin
37BINMODE?=	444
38