Makefile revision 1.3
1# $NetBSD: Makefile,v 1.3 2001/11/13 14:21:03 tv Exp $ 2 3MODULE= groff 4 5ALL_TARGET= src/include all 6 7# Add gnuwrap hack directly to the Makefile. 8_NOWRAPPER=1 9.build_done: build/Makefile 10build/Makefile: .configure_done 11 @printf '.include "${.CURDIR}/../Makefile.gnuwrap"\n' >>$@ 12 13.include "${.CURDIR}/../Makefile.gnuhost" 14 15.PATH: ${.CURDIR}/../../share/tmac 16 17.for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html 18afterinstall: ${TMACDIR}/tmac.${F} 19.PHONY: ${TMACDIR}/tmac.${F} 20${TMACDIR}/tmac.${F}: ${F} 21.if defined(UPDATE) 22 @if ! cmp ${.ALLSRC} ${.TARGET} 2>/dev/null; then \ 23 echo ${INSTALL_FILE:N-U:Q} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 24 ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \ 25 fi 26.else 27 ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 28.endif 29.endfor 30 31afterinstall: ${TMACDIR}/tmac.an 32${TMACDIR}/tmac.an: ${TMACDIR}/tmac.andoc 33 ${INSTALL_FILE:N-U} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET} 34