From owner-cvs-all@FreeBSD.ORG Mon Aug 14 12:47:33 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B923716A4DD; Mon, 14 Aug 2006 12:47:33 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B10643D79; Mon, 14 Aug 2006 12:47:23 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id BA8A820A7; Mon, 14 Aug 2006 14:47:19 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id A1E5E20A5; Mon, 14 Aug 2006 14:47:19 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 77F4833C24; Mon, 14 Aug 2006 14:47:19 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Dmitry Pryanishnikov References: <200608101942.k7AJgOrB051336@repoman.freebsd.org> <20060811235619.G93570@atlantis.atlantis.dp.ua> <20060811220244.GC5237@rambler-co.ru> <20060811223642.GA21117@xor.obsecurity.org> <20060812005213.384b744b@Magellan.Leidinger.net> <20060812084253.GA8597@rambler-co.ru> <20060812123531.GA36569@xor.obsecurity.org> <20060813185551.GA15783@rambler-co.ru> <864pwfwpnm.fsf@xps.des.no> <20060814153428.G28464@atlantis.atlantis.dp.ua> <867j1bv65w.fsf@xps.des.no> Date: Mon, 14 Aug 2006 14:47:19 +0200 In-Reply-To: <867j1bv65w.fsf@xps.des.no> (Dag-Erling =?iso-8859-1?Q?Sm=F8r?= =?iso-8859-1?Q?grav's?= message of "Mon, 14 Aug 2006 14:43:55 +0200") Message-ID: <863bbzv608.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: src-committers@freebsd.org, Alexander Leidinger , cvs-src@freebsd.org, cvs-all@freebsd.org, Ruslan Ermilov , Kris Kennaway Subject: Re: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 12:47:33 -0000 des@des.no (Dag-Erling Sm=F8rgrav) writes: > Dmitry Pryanishnikov 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 --=20 Dag-Erling Sm=F8rgrav - des@des.no