Home | History | Annotate | Line # | Download | only in groff
Makefile revision 1.6
      1  1.6    jmc #	$NetBSD: Makefile,v 1.6 2001/11/28 05:01:59 jmc Exp $
      2  1.1     tv 
      3  1.1     tv MODULE=		groff
      4  1.1     tv 
      5  1.1     tv ALL_TARGET=	src/include all
      6  1.4     tv MAKE_ARGS=	bindir=${TOOLDIR}/lib/groff
      7  1.6    jmc 
      8  1.6    jmc TMACDIR=	${TOOLDIR}/share/groff/tmac
      9  1.2     tv 
     10  1.2     tv # Add gnuwrap hack directly to the Makefile.
     11  1.2     tv _NOWRAPPER=1
     12  1.2     tv .build_done: build/Makefile
     13  1.2     tv build/Makefile: .configure_done
     14  1.2     tv 	@printf '.include "${.CURDIR}/../Makefile.gnuwrap"\n' >>$@
     15  1.1     tv 
     16  1.1     tv .include "${.CURDIR}/../Makefile.gnuhost"
     17  1.1     tv 
     18  1.1     tv .PATH:		${.CURDIR}/../../share/tmac
     19  1.1     tv 
     20  1.1     tv .for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html
     21  1.3     tv afterinstall:	${TMACDIR}/tmac.${F}
     22  1.1     tv .PHONY:		${TMACDIR}/tmac.${F}
     23  1.1     tv ${TMACDIR}/tmac.${F}: ${F}
     24  1.1     tv .if defined(UPDATE)
     25  1.1     tv 	@if ! cmp ${.ALLSRC} ${.TARGET} 2>/dev/null; then \
     26  1.5  perry 		echo ${HOST_INSTALL_FILE:Q} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \
     27  1.5  perry 		${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}; \
     28  1.1     tv 	fi
     29  1.1     tv .else
     30  1.5  perry 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}
     31  1.1     tv .endif
     32  1.1     tv .endfor
     33  1.1     tv 
     34  1.1     tv afterinstall: ${TMACDIR}/tmac.an
     35  1.1     tv ${TMACDIR}/tmac.an: ${TMACDIR}/tmac.andoc
     36  1.5  perry 	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}
     37  1.4     tv 
     38  1.4     tv .for F in eqn groff indxbib pic refer soelim tbl
     39  1.4     tv afterinstall: ${TOOLDIR}/bin/nb${F}
     40  1.4     tv ${TOOLDIR}/bin/nb${F}: ${TOOLDIR}/lib/groff/${F}
     41  1.4     tv 	ln -f ${.ALLSRC} ${.TARGET}
     42  1.4     tv .endfor
     43