Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/groff grr another copy of the path I missed; factor ou...



details:   https://anonhg.NetBSD.org/src/rev/507a1b366722
branches:  trunk
changeset: 342914:507a1b366722
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 14 01:13:26 2016 +0000

description:
grr another copy of the path I missed; factor out to a variable.

diffstat:

 tools/groff/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f5876573a862 -r 507a1b366722 tools/groff/Makefile
--- a/tools/groff/Makefile      Thu Jan 14 00:41:42 2016 +0000
+++ b/tools/groff/Makefile      Thu Jan 14 01:13:26 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.31 2016/01/13 19:29:26 christos Exp $
+#      $NetBSD: Makefile,v 1.32 2016/01/14 01:13:26 christos Exp $
 
 MODULE=                groff
 
@@ -10,6 +10,7 @@
 
 TMACDIR=       ${TOOLDIR}/share/groff/tmac
 SITETMACDIR=   ${TOOLDIR}/share/groff/site-tmac
+GROFFDIR=      ${.CURDIR}/../../external/gpl2/groff
 
 # Add gnuwrap hack directly to the Makefile.
 _NOWRAPPER=1
@@ -31,7 +32,7 @@
 .include "${.CURDIR}/../Makefile.gnuhost"
 .-include "${TOOLDIR}/share/compat/defs.mk"
 
-.PATH: ${.CURDIR}/../../share/tmac ${.CURDIR}/../../gnu/usr.bin/groff/tmac
+.PATH: ${.CURDIR}/../../share/tmac ${GROFFDIR}/tmac
 
 _installtmac: .USE
 .if ${MKUPDATE} != "no"
@@ -61,8 +62,7 @@
 .ORDER: realinstall ${SITETMACDIR}/${F}
 CLEANFILES+=${F}-s
 ${F}-s: ${F}
-       ${TOOL_SED} -f ${.CURDIR}/../../external/gpl2/groff/dist/tmac/strip.sed \
-               ${.ALLSRC} > ${.TARGET}
+       ${TOOL_SED} -f ${GROFFDIR}/dist/tmac/strip.sed ${.ALLSRC} > ${.TARGET}
 .endfor
 
 # The silly walk below is because sometimes the files begin with "g",



Home | Main Index | Thread Index | Old Index