svn commit: r313654 - head/usr.bin/awk

Ngie Cooper ngie at FreeBSD.org
Sat Feb 11 20:27:07 UTC 2017


Author: ngie
Date: Sat Feb 11 20:27:06 2017
New Revision: 313654
URL: https://svnweb.freebsd.org/changeset/base/313654

Log:
  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

Modified:
  head/usr.bin/awk/Makefile

Modified: head/usr.bin/awk/Makefile
==============================================================================
--- head/usr.bin/awk/Makefile	Sat Feb 11 20:19:04 2017	(r313653)
+++ head/usr.bin/awk/Makefile	Sat Feb 11 20:27:06 2017	(r313654)
@@ -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-head mailing list