svn commit: r314012 - stable/11/usr.bin/awk

Ngie Cooper ngie at FreeBSD.org
Tue Feb 21 02:33:30 UTC 2017


Author: ngie
Date: Tue Feb 21 02:33:28 2017
New Revision: 314012
URL: https://svnweb.freebsd.org/changeset/base/314012

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/11/usr.bin/awk/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/awk/Makefile
==============================================================================
--- stable/11/usr.bin/awk/Makefile	Tue Feb 21 02:30:26 2017	(r314011)
+++ stable/11/usr.bin/awk/Makefile	Tue Feb 21 02:33:28 2017	(r314012)
@@ -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>


More information about the svn-src-all mailing list