svn commit: r314014 - stable/10/usr.bin/awk
Ngie Cooper
ngie at FreeBSD.org
Tue Feb 21 02:35:01 UTC 2017
Author: ngie
Date: Tue Feb 21 02:34:59 2017
New Revision: 314014
URL: https://svnweb.freebsd.org/changeset/base/314014
Log:
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.
Modified:
stable/10/usr.bin/awk/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/usr.bin/awk/Makefile
==============================================================================
--- stable/10/usr.bin/awk/Makefile Tue Feb 21 02:33:41 2017 (r314013)
+++ stable/10/usr.bin/awk/Makefile Tue Feb 21 02:34:59 2017 (r314014)
@@ -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>
More information about the svn-src-stable
mailing list