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>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to