1 1.13 mycroft # from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91 2 1.17 cgd # $Id: bsd.doc.mk,v 1.17 1994/02/09 23:50:35 cgd Exp $ 3 1.1 cgd 4 1.16 cgd PRINTER_TYPE?= ps 5 1.1 cgd 6 1.1 cgd BIB?= bib 7 1.8 cgd EQN?= eqn 8 1.8 cgd GREMLIN?= grn 9 1.1 cgd GRIND?= vgrind -f 10 1.1 cgd INDXBIB?= indxbib 11 1.8 cgd PIC?= pic 12 1.1 cgd REFER?= refer 13 1.16 cgd ROFF?= groff -T${PRINTER_TYPE} ${MACROS} ${PAGES} 14 1.1 cgd SOELIM?= soelim 15 1.8 cgd TBL?= tbl 16 1.1 cgd 17 1.1 cgd .PATH: ${.CURDIR} 18 1.1 cgd 19 1.16 cgd all: ${DOC}.${PRINTER_TYPE} 20 1.8 cgd 21 1.1 cgd .if !target(print) 22 1.16 cgd print: ${DOC}.${PRINTER_TYPE} 23 1.16 cgd lpr ${DOC}.${PRINTER_TYPE} 24 1.1 cgd .endif 25 1.1 cgd 26 1.14 mycroft clean: 27 1.8 cgd rm -f ${DOC}.* [eE]rrs mklog ${CLEANFILES} 28 1.1 cgd 29 1.14 mycroft cleandir: clean 30 1.14 mycroft 31 1.1 cgd FILES?= ${SRCS} 32 1.1 cgd install: 33 1.14 mycroft (cd ${.CURDIR}; install ${COPY} -o ${DOCOWN} -g ${DOCGRP} -m 444 \ 34 1.14 mycroft Makefile ${FILES} ${EXTRA} ${DESTDIR}${DOCDIR}/${DIR} ) 35 1.1 cgd 36 1.1 cgd spell: ${SRCS} 37 1.12 mycroft (cd ${.CURDIR}; spell ${SRCS}) | sort | \ 38 1.9 cgd comm -23 - ${.CURDIR}/spell.ok > ${DOC}.spell 39 1.15 mycroft 40 1.15 mycroft depend tags lint: 41 1.1 cgd 42 1.12 mycroft .include <bsd.obj.mk> 43