Date: Tue, 21 Feb 2017 02:33:29 +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-11@freebsd.org Subject: svn commit: r314012 - stable/11/usr.bin/awk Message-ID: <201702210233.v1L2XTNt020376@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702210233.v1L2XTNt020376>