Subject: Re: CVS commit: src/sys/sys
To: Antti Kantee <pooka@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 08/15/2007 21:06:27
On Wed, Aug 15, 2007 at 02:08:11PM +0000, Antti Kantee wrote:
> 
> Module Name:	src
> Committed By:	pooka
> Date:		Wed Aug 15 14:08:11 UTC 2007
> 
> Modified Files:
> 	src/sys/sys: Makefile
> Added Files:
> 	src/sys/sys: gennameih.awk namei.src
> 
> Log Message:
> Autogenerate namei.h from namei.src to get duplicate values for some
> less-than-optimally namespaced macros (e.g. LOOKUP -> NAMEI_LOOKUP).

There has to be a better way that needing to commit generated files.
I've not looked at this one, but the cpp can be (ab)used to generate
multiple items from a single list of information.

For example look at the rev 1.92 changes to sys/sys/disklabel.h

	David

-- 
David Laight: david@l8s.co.uk