On Mon, Dec 15, 2014 at 6:25 AM, Ed Maste <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to