[EMAIL PROTECTED] (Dag-Erling Smørgrav) writes: > Dmitry Pryanishnikov <[EMAIL PROTECTED]> writes: > > So ':>>${FILE}' isn't the same as 'touch ${FILE}' for existing files. > when the purpose is only "to ensure that a file exists" as I wrote > above, this does not matter.
besides, in most cases where touch is used in src/sys, what is really needed is truncate (or :>): opt_ppp.h: touch ${.TARGET} .if ${PPP_BSDCOMP} > 0 echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET} .endif .if ${PPP_DEFLATE} > 0 echo "#define PPP_DEFLATE ${PPP_DEFLATE}" >> ${.TARGET} .endif .if ${PPP_FILTER} > 0 echo "#define PPP_FILTER ${PPP_FILTER}" >> ${.TARGET} .endif .endif if for some reason this target should run several times, opt_ppp.h will end up with multiple definitions of the same macros. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"