Makefile revision 1.6
11.6Sjmc# $NetBSD: Makefile,v 1.6 2001/11/28 05:01:59 jmc Exp $ 21.1Stv 31.1StvMODULE= groff 41.1Stv 51.1StvALL_TARGET= src/include all 61.4StvMAKE_ARGS= bindir=${TOOLDIR}/lib/groff 71.6Sjmc 81.6SjmcTMACDIR= ${TOOLDIR}/share/groff/tmac 91.2Stv 101.2Stv# Add gnuwrap hack directly to the Makefile. 111.2Stv_NOWRAPPER=1 121.2Stv.build_done: build/Makefile 131.2Stvbuild/Makefile: .configure_done 141.2Stv @printf '.include "${.CURDIR}/../Makefile.gnuwrap"\n' >>$@ 151.1Stv 161.1Stv.include "${.CURDIR}/../Makefile.gnuhost" 171.1Stv 181.1Stv.PATH: ${.CURDIR}/../../share/tmac 191.1Stv 201.1Stv.for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html 211.3Stvafterinstall: ${TMACDIR}/tmac.${F} 221.1Stv.PHONY: ${TMACDIR}/tmac.${F} 231.1Stv${TMACDIR}/tmac.${F}: ${F} 241.1Stv.if defined(UPDATE) 251.1Stv @if ! cmp ${.ALLSRC} ${.TARGET} 2>/dev/null; then \ 261.5Sperry echo ${HOST_INSTALL_FILE:Q} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 271.5Sperry ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 281.1Stv fi 291.1Stv.else 301.5Sperry ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 311.1Stv.endif 321.1Stv.endfor 331.1Stv 341.1Stvafterinstall: ${TMACDIR}/tmac.an 351.1Stv${TMACDIR}/tmac.an: ${TMACDIR}/tmac.andoc 361.5Sperry ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 371.4Stv 381.4Stv.for F in eqn groff indxbib pic refer soelim tbl 391.4Stvafterinstall: ${TOOLDIR}/bin/nb${F} 401.4Stv${TOOLDIR}/bin/nb${F}: ${TOOLDIR}/lib/groff/${F} 411.4Stv ln -f ${.ALLSRC} ${.TARGET} 421.4Stv.endfor 43