1 # $NetBSD: bsd.doc.mk,v 1.63 2004/01/29 01:48:45 lukem Exp $
2 # @(#)bsd.doc.mk 8.1 (Berkeley) 8/14/93
8 realinstall
: docinstall
14 ${TOOL_ROFF_PS} ${MACROS} ${PAGES} ${.ALLSRC
} > ${.TARGET
}
17 .if
${MKSHARE} != "no"
22 docinstall
:: # ensure existence
29 ${INSTALL_FILE} -o
${DOCOWN} -g
${DOCGRP} -m
${DOCMODE} \
34 .for F in Makefile
${FILES
:O
:u
} ${EXTRA}
35 _F
:= ${DESTDIR}${DOCDIR}/${DIR}/${F} # installed path
37 .if
${MKUPDATE} == "no"
38 ${_F}! ${F} __docinstall
# install rule
39 .if
!defined
(BUILD
) && !make
(all) && !make
(${F})
40 ${_F}! .MADE
# no build at install
43 ${_F}: ${F} __docinstall
# install rule
44 .if
!defined
(BUILD
) && !make
(all) && !make
(${F})
45 ${_F}: .MADE
# no build at install
50 .PRECIOUS
: ${_F} # keep if install fails
54 .
endif # ${MKDOC} != "no"
58 rm -f paper.
* [eE
]rrs mklog
${CLEANFILES}
62 print: .PHONY paper.ps
63 lpr
-P
${PRINTER} ${.ALLSRC
}
67 spell
${.ALLSRC
} |
sort | comm
-23 - spell.ok
> paper.spell
69 ##### Pull in related .mk logic
73 ${TARGETS}: # ensure existence