aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-02-11 20:27:06 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-02-11 20:27:06 +0000
commit272a2acfef09f4f6fa56508e40fbd93e370e4d1c (patch)
treee8b5f59aea7bf5406353e0f5862f3e57c55c2dcc /usr.bin/awk
parent15212f7a83e547ce2e24324f1b3527d4c5ef53c9 (diff)
downloadsrc-272a2acfef09f4f6fa56508e40fbd93e370e4d1c.tar.gz
src-272a2acfef09f4f6fa56508e40fbd93e370e4d1c.zip
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. MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=313654
Diffstat (limited to 'usr.bin/awk')
-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 f6c1baac7e42..b246713645d7 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
@@ -26,6 +26,6 @@ proctab.c: maketab
${BTOOLSPATH:U.}/maketab > proctab.c
build-tools: maketab
-maketab: ytab.h ${AWKSRC}/maketab.c ${BUILD_TOOLS_META}
+maketab: ytab.h maketab.c ${BUILD_TOOLS_META}
.include <bsd.prog.mk>