1993-08-15 23:37:04 +04:00
|
|
|
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
|
1993-08-23 20:44:18 +04:00
|
|
|
# $Id: bsd.doc.mk,v 1.15 1993/08/23 16:44:18 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1993-06-10 02:00:27 +04:00
|
|
|
PRINTER?= ps
|
1993-03-27 15:17:32 +03:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
BIB?= bib
|
1993-06-10 02:00:27 +04:00
|
|
|
EQN?= eqn
|
|
|
|
GREMLIN?= grn
|
1993-03-21 12:45:37 +03:00
|
|
|
GRIND?= vgrind -f
|
|
|
|
INDXBIB?= indxbib
|
1993-06-10 02:00:27 +04:00
|
|
|
PIC?= pic
|
1993-03-21 12:45:37 +03:00
|
|
|
REFER?= refer
|
1993-06-10 02:00:27 +04:00
|
|
|
ROFF?= groff -T${PRINTER} ${MACROS} ${PAGES}
|
1993-03-21 12:45:37 +03:00
|
|
|
SOELIM?= soelim
|
1993-06-10 02:00:27 +04:00
|
|
|
TBL?= tbl
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}
|
|
|
|
|
1993-06-10 02:00:27 +04:00
|
|
|
all: ${DOC}.${PRINTER}
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.if !target(print)
|
1993-06-10 02:00:27 +04:00
|
|
|
print: ${DOC}.${PRINTER}
|
|
|
|
lpr -P${PRINTER} ${DOC}.${PRINTER}
|
1993-03-21 12:45:37 +03:00
|
|
|
.endif
|
|
|
|
|
1993-08-16 00:42:39 +04:00
|
|
|
clean:
|
1993-06-10 02:00:27 +04:00
|
|
|
rm -f ${DOC}.* [eE]rrs mklog ${CLEANFILES}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1993-08-16 00:42:39 +04:00
|
|
|
cleandir: clean
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
FILES?= ${SRCS}
|
|
|
|
install:
|
1993-08-16 00:42:39 +04:00
|
|
|
@install -d -o root -g wheel -m 755 ${DESTDIR}${DOCDIR}/${DIR}
|
|
|
|
(cd ${.CURDIR}; install ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m 444 \
|
|
|
|
Makefile ${FILES} ${EXTRA} ${DESTDIR}${DOCDIR}/${DIR} )
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
spell: ${SRCS}
|
1993-08-15 23:26:05 +04:00
|
|
|
(cd ${.CURDIR}; spell ${SRCS}) | sort | \
|
1993-07-04 17:01:30 +04:00
|
|
|
comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1993-08-23 20:44:18 +04:00
|
|
|
depend tags lint:
|
|
|
|
|
1993-08-15 23:26:05 +04:00
|
|
|
.include <bsd.obj.mk>
|