summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-21 02:34:59 +0000
committerngie <ngie@FreeBSD.org>2017-02-21 02:34:59 +0000
commit5a3fdf1195b5ae2314c52f96148f683ca434045b (patch)
treef0d7639d00257e94db72fe95d7f499ad35770a4a
parent3621dc9894f03d6a0817cd541c0c581db35e7432 (diff)
downloadFreeBSD-src-5a3fdf1195b5ae2314c52f96148f683ca434045b.zip
FreeBSD-src-5a3fdf1195b5ae2314c52f96148f683ca434045b.tar.gz
MFC r313654:
Use SRCTOP to refer to awk source in contrib/awk and remove unnecessary AWKSRC prefix for maketab.c The former simplifies pathing in make/displayed output, whereas the latter was just unnecessarily superfluous since .PATH referenced the path to maketab.c earlier on in the Makefile.
-rw-r--r--usr.bin/awk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 6538636..7e4c997 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-AWKSRC= ${.CURDIR}/../../contrib/one-true-awk
+AWKSRC= ${SRCTOP}/contrib/one-true-awk
.PATH: ${AWKSRC}
PROG= awk
@@ -25,6 +25,6 @@ proctab.c: maketab
./maketab > proctab.c
build-tools: maketab
-maketab: ytab.h ${AWKSRC}/maketab.c
+maketab: ytab.h maketab.c
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud