Update for groff-1.19.

This commit is contained in:
wiz 2003-06-30 18:14:28 +00:00
parent fa3255d80d
commit dd6f42c68a
1 changed files with 22 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2003/06/14 17:18:16 wiz Exp $
# $NetBSD: Makefile,v 1.19 2003/06/30 18:14:28 wiz Exp $
MODULE= groff
@ -6,10 +6,13 @@ ALL_TARGET= src/include all
MAKE_ARGS= bindir=${TOOLDIR}/lib/groff
TMACDIR= ${TOOLDIR}/share/groff/tmac
SITETMACDIR= ${TOOLDIR}/share/groff/site-tmac
# Add gnuwrap hack directly to the Makefile.
_NOWRAPPER=1
# XXX: 20030630: I think the next part is not needed --
# if it should be, please comment it in again. -- wiz
#
# Fixup build/Makefile.
# XXX - the groff distribution Makefiles don't get their dependencies right.
@ -17,16 +20,16 @@ _NOWRAPPER=1
# This can be removed once our own make(1) can be invoked in true
# sequential (i.e. compatible) mode again for subdir makes.
#
.configure_done: _post_conf
_post_conf: .USE
@(echo '.include "${.CURDIR}/../Makefile.gnuwrap"'; \
echo '.ORDER: $$(ALLDIRS) dot';\
echo '.ORDER: all install' ) >> build/Makefile
#.configure_done: _post_conf
#_post_conf: .USE
# @(echo '.include "${.CURDIR}/../Makefile.gnuwrap"'; \
# echo '.ORDER: $$(ALLDIRS) dot';\
# echo '.ORDER: all install' ) >> build/Makefile
.include "${.CURDIR}/../Makefile.gnuhost"
.PATH: ${.CURDIR}/../../share/tmac
.PATH: ${.CURDIR}/../../share/tmac ${.CURDIR}/../../gnu/usr.bin/groff/tmac
_installtmac: .USE
.if defined(UPDATE)
@ -42,20 +45,19 @@ _installtmac: .USE
# Since ${TMACDIR} is created by the `realinstall' target, the `afterinstall'
# sources below that depend on it must wait until `realinstall' is done.
#
.for F in andoc doc doc-ditroff doc-common doc-nroff doc-syms doc2html
afterinstall: ${TMACDIR}/tmac.${F}
.PHONY: ${TMACDIR}/tmac.${F}
${TMACDIR}/tmac.${F}: ${F} _installtmac
.ORDER: realinstall ${TMACDIR}/tmac.${F}
#.for F in an andoc doc doc-ditroff doc-common doc-nroff doc-syms html html-end man man.local mdoc mdoc.local
.for F in doc2html
afterinstall: ${TMACDIR}/${F}.tmac
.PHONY: ${TMACDIR}/${F}.tmac
${TMACDIR}/${F}.tmac: ${F} _installtmac
.ORDER: realinstall ${TMACDIR}/${F}.tmac
.endfor
.for F in man.local mdoc.local
afterinstall: ${SITETMACDIR}/${F}
.PHONY: ${SITETMACDIR}/${F}
${SITETMACDIR}/${F}: ${F} _installtmac
.ORDER: realinstall ${SITETMACDIR}/${F}
.endfor
afterinstall: ${TMACDIR}/tmac.an.old
${TMACDIR}/tmac.an.old: ${GNUHOSTDIST}/tmac/tmac.an _installtmac
.ORDER: realinstall ${TMACDIR}/tmac.an.old
afterinstall: ${TMACDIR}/tmac.an
${TMACDIR}/tmac.an: ${TMACDIR}/tmac.andoc _installtmac
.ORDER: realinstall ${TMACDIR}/tmac.an
# The silly walk below is because sometimes the files begin with "g",
# and sometimes not, depending on what the host tool has at build time.