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