1993-08-15 23:37:04 +04:00
|
|
|
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
|
1994-02-10 02:50:32 +03:00
|
|
|
# $Id: bsd.doc.mk,v 1.17 1994/02/09 23:50:35 cgd Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1994-01-25 01:30:32 +03:00
|
|
|
PRINTER_TYPE?= 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
|
1994-01-25 01:30:32 +03:00
|
|
|
ROFF?= groff -T${PRINTER_TYPE} ${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}
|
|
|
|
|
1994-01-25 01:30:32 +03:00
|
|
|
all: ${DOC}.${PRINTER_TYPE}
|
1993-06-10 02:00:27 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.if !target(print)
|
1994-01-25 01:30:32 +03:00
|
|
|
print: ${DOC}.${PRINTER_TYPE}
|
|
|
|
lpr ${DOC}.${PRINTER_TYPE}
|
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
|
|
|
(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>
|