svn commit: r275804 - head/gnu/usr.bin/cc/cc1plus
Craig Rodrigues
rodrigc at FreeBSD.org
Mon Dec 15 21:04:54 UTC 2014
On Mon, Dec 15, 2014 at 6:25 AM, Ed Maste <emaste at 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
More information about the svn-src-head
mailing list