Date: Thu, 1 Jun 2017 06:39:55 +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: r319382 - stable/10/usr.bin/getconf Message-ID: <201706010639.v516dtD6077339@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Jun 1 06:39:55 2017 New Revision: 319382 URL: https://svnweb.freebsd.org/changeset/base/319382 Log: MFC r318434: Make the `.gperf.c` suffix rule depend on fake-gperf.awk Parameterize out fake-gperf.awk to avoid duplicating the path Modified: stable/10/usr.bin/getconf/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.bin/getconf/Makefile ============================================================================== --- stable/10/usr.bin/getconf/Makefile Thu Jun 1 06:37:53 2017 (r319381) +++ stable/10/usr.bin/getconf/Makefile Thu Jun 1 06:39:55 2017 (r319382) @@ -13,8 +13,9 @@ CLEANFILES+= confstr.c limits.c pathconf.c progenv.c s all: conflicts -.gperf.c: - LC_ALL=C awk -f ${.CURDIR}/fake-gperf.awk ${.IMPSRC} >${.TARGET} +FAKE_GPERF= ${.CURDIR}/fake-gperf.awk +.gperf.c: ${FAKE_GPERF} + LC_ALL=C awk -f ${FAKE_GPERF} ${.IMPSRC} >${.TARGET} .gperf.names: LC_ALL=C awk '/^[_A-Z]/ { print; }' ${.IMPSRC} | \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706010639.v516dtD6077339>