Makefile revision 1.2
11.2Stv# $NetBSD: Makefile,v 1.2 2001/11/13 04:28:28 tv Exp $ 21.1Stv 31.1StvMODULE= groff 41.1Stv 51.1StvALL_TARGET= src/include all 61.2Stv 71.2Stv# Add gnuwrap hack directly to the Makefile. 81.2Stv_NOWRAPPER=1 91.2Stv.build_done: build/Makefile 101.2Stvbuild/Makefile: .configure_done 111.2Stv @printf '.include "${.CURDIR}/../Makefile.gnuwrap"\n' >>$@ 121.1Stv 131.1Stv.include "${.CURDIR}/../Makefile.gnuhost" 141.1Stv 151.1Stv.PATH: ${.CURDIR}/../../share/tmac 161.1StvTMACDIR= ${TOOLDIR}/share/groff/tmac 171.1Stv 181.1Stv.for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html 191.1Stvinstall.files: ${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} 35