Makefile revision 1.4
11.4Stv# $NetBSD: Makefile,v 1.4 2001/11/14 22:13:40 tv Exp $ 21.1Stv 31.1StvMODULE= groff 41.1Stv 51.1StvALL_TARGET= src/include all 61.4StvMAKE_ARGS= bindir=${TOOLDIR}/lib/groff 71.2Stv 81.2Stv# Add gnuwrap hack directly to the Makefile. 91.2Stv_NOWRAPPER=1 101.2Stv.build_done: build/Makefile 111.2Stvbuild/Makefile: .configure_done 121.2Stv @printf '.include "${.CURDIR}/../Makefile.gnuwrap"\n' >>$@ 131.1Stv 141.1Stv.include "${.CURDIR}/../Makefile.gnuhost" 151.1Stv 161.1Stv.PATH: ${.CURDIR}/../../share/tmac 171.1Stv 181.1Stv.for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html 191.3Stvafterinstall: ${TMACDIR}/tmac.${F} 201.1Stv.PHONY: ${TMACDIR}/tmac.${F} 211.1Stv${TMACDIR}/tmac.${F}: ${F} 221.1Stv.if defined(UPDATE) 231.1Stv @if ! cmp ${.ALLSRC} ${.TARGET} 2>/dev/null; then \ 241.1Stv echo ${INSTALL_FILE:N-U:Q} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 251.1Stv ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 261.1Stv fi 271.1Stv.else 281.1Stv ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 291.1Stv.endif 301.1Stv.endfor 311.1Stv 321.1Stvafterinstall: ${TMACDIR}/tmac.an 331.1Stv${TMACDIR}/tmac.an: ${TMACDIR}/tmac.andoc 341.1Stv ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 351.4Stv 361.4Stv.for F in eqn groff indxbib pic refer soelim tbl 371.4Stvafterinstall: ${TOOLDIR}/bin/nb${F} 381.4Stv${TOOLDIR}/bin/nb${F}: ${TOOLDIR}/lib/groff/${F} 391.4Stv ln -f ${.ALLSRC} ${.TARGET} 401.4Stv.endfor 41