Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j0O5oCPA001181 for ; Mon, 24 Jan 2005 05:50:15 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id F01E529852D for ; Mon, 24 Jan 2005 05:50:42 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsxJm-0007us-Vo for migo@homemail.com; Mon, 24 Jan 2005 01:03:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CsxIs-0007Z6-BC for gnu-arch-users@gnu.org; Mon, 24 Jan 2005 01:02:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CsxIk-0007TP-8b for gnu-arch-users@gnu.org; Mon, 24 Jan 2005 01:02:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CsxIh-0007Km-7F for gnu-arch-users@gnu.org; Mon, 24 Jan 2005 01:02:11 -0500 Received: from [144.140.70.43] (helo=gizmo12bw.bigpond.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CswaW-0000FF-Nn for gnu-arch-users@gnu.org; Mon, 24 Jan 2005 00:16:33 -0500 Received: (qmail 22351 invoked from network); 24 Jan 2005 05:16:26 -0000 Received: from unknown (HELO bwmam11.bigpond.com) (144.135.24.100) by gizmo12bw.bigpond.com with SMTP; 24 Jan 2005 05:16:26 -0000 Received: from cpe-144-132-221-212.nsw.bigpond.net.au ([144.132.221.212]) by bwmam11.bigpond.com(MAM REL_3_4_2a 180/52239591) with SMTP id 52239591; Mon, 24 Jan 2005 15:16:26 +1000 Received: by whiskas.PoolCompsOnline.com (Postfix, from userid 1000) id AA11079F6E; Mon, 24 Jan 2005 16:16:25 +1100 Subject: Re: [Gnu-arch-users] Re: Keyword substitution, How can I automatically add version to file? From: Zenaan Harkness To: arch In-Reply-To: <41EE86C7.8020409@arbash-meinel.com> References: <20050118203950.GA14564@cesta> <41EE86C7.8020409@arbash-meinel.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 24 Jan 2005 16:16:25 +1100 Message-Id: <1106543785.29796.133.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 658 Lines: 20 > I second the build-script generating a version file, though. This works very well for us too - a simple sed, and now we first store the version in a file by itself in the build directory, so it can be used later in our build process too, and to manually check the state of things (occasionally useful), and it's all in the output, not in the source. The source is versioned by tla. All seems to make good sense to me so far... fwiw zen _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/