Date: Mon, 15 Dec 2014 13:04:51 -0800 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus Message-ID: <CAG=rPVc3GJpCGSBUD4-TgfKG2HVHt=oEr71G_twChx6_x7tBGQ@mail.gmail.com> In-Reply-To: <201412151425.sBFEPhhs009026@svn.freebsd.org> References: <201412151425.sBFEPhhs009026@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2014 at 6:25 AM, Ed Maste <emaste@freebsd.org> wrote: > > cfns.h: cfns.gperf > gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \ > - ${.ALLSRC} > ${.TARGET} > + ${.ALLSRC} > ${.TARGET} || (rm -f ${.TARGET}; false) > > Instead of removing the target you could have done something like: cfns.h: cfns.gperf gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \ ${.ALLSRC} > ${.TARGET}_temp mv ${.TARGET}_temp ${.TARGET} -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVc3GJpCGSBUD4-TgfKG2HVHt=oEr71G_twChx6_x7tBGQ>