Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 02:34:59 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r314014 - stable/10/usr.bin/awk
Message-ID:  <201702210234.v1L2YxQY020599@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702210234.v1L2YxQY020599>