NetBSD/share/mk/bsd.doc.mk

43 lines
803 B
Makefile
Raw Normal View History

# 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
PRINTER_TYPE?= ps
1993-03-21 12:45:37 +03:00
BIB?= bib
EQN?= eqn
GREMLIN?= grn
1993-03-21 12:45:37 +03:00
GRIND?= vgrind -f
INDXBIB?= indxbib
PIC?= pic
1993-03-21 12:45:37 +03:00
REFER?= refer
ROFF?= groff -T${PRINTER_TYPE} ${MACROS} ${PAGES}
1993-03-21 12:45:37 +03:00
SOELIM?= soelim
TBL?= tbl
1993-03-21 12:45:37 +03:00
.PATH: ${.CURDIR}
all: ${DOC}.${PRINTER_TYPE}
1993-03-21 12:45:37 +03:00
.if !target(print)
print: ${DOC}.${PRINTER_TYPE}
lpr ${DOC}.${PRINTER_TYPE}
1993-03-21 12:45:37 +03:00
.endif
clean:
rm -f ${DOC}.* [eE]rrs mklog ${CLEANFILES}
1993-03-21 12:45:37 +03:00
cleandir: clean
1993-03-21 12:45:37 +03:00
FILES?= ${SRCS}
install:
(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}
(cd ${.CURDIR}; spell ${SRCS}) | sort | \
comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell
1993-03-21 12:45:37 +03:00
depend tags lint:
.include <bsd.obj.mk>