make rule of multiple file generation (was Re: CVS commit: src/share/mk)

2009-12-11 Thread Masao Uebayashi
(Moved from source-change...@netbsd.org.) > Actually I am interested. You just did not present your solution in > tech-whatever so I did not have a chance to comment. Do you have an > example where the existing rules fail, so that I can see what you are > trying to fix? % cd bin/sh

Re: CVS commit: src/share/mk

2009-12-11 Thread Christos Zoulas
On Dec 12, 11:48am, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: CVS commit: src/share/mk | I had a discussion with dsl@ on source-change...@. | | http://mail-index.netbsd.org/source-changes-d/2009/12/08/msg001261.html | | His suggestion was: | arith.h: arith.y |

Re: CVS commit: src/distrib/sets

2009-12-11 Thread Masao Uebayashi
>Log Message: >Put intermediate lists on the top of ${DESTDIR} (${DESTDIR}/SETS.*) and > leave >them. Teach list generators to ignore them. Always generate metalog >missing/extra lists too, but don't check it (for now). I'll change "flist" >to be generated only when set list

Re: CVS commit: src/share/mk

2009-12-11 Thread Masao Uebayashi
I had a discussion with dsl@ on source-change...@. http://mail-index.netbsd.org/source-changes-d/2009/12/08/msg001261.html His suggestion was: arith.h: arith.y arith.o: arith.h [ -f ${@:.o=c} ] || { rm ${@:.o=.h}; exit 1; }

re: CVS commit: src/share/mk

2009-12-11 Thread matthew green
In article <26371.1260567...@splode.eterna.com.au>, matthew green wrote: > > Module Name: src > Committed By:uebayasi > Date:Fri Dec 11 08:37:34 UTC 2009 > > Modified Files: >src/share/mk: bsd.own.mk > > Log Message: >

Re: CVS commit: src/share/mk

2009-12-11 Thread Christos Zoulas
In article <26371.1260567...@splode.eterna.com.au>, matthew green wrote: > > Module Name:src > Committed By: uebayasi > Date: Fri Dec 11 08:37:34 UTC 2009 > > Modified Files: > src/share/mk: bsd.own.mk > > Log Message: > ${GENCMD} is used to gen

Re: CVS commit: src/share/mk

2009-12-11 Thread Masao Uebayashi
> this seems pretty gross. i'm not sure it's a good way to > solve the problem at hand. it hides everything away with > @. it also doesn't appear to avoid updating a file if it > hasn't actually changed. it also hard codes /tmp, which > it shouldn't need to use at all. it also uses "cp" > inst

re: CVS commit: src/distrib/sets

2009-12-11 Thread matthew green
Module Name: src Committed By:uebayasi Date:Fri Dec 11 11:48:41 UTC 2009 Modified Files: src/distrib/sets: checkflist Log Message: Put intermediate lists on the top of ${DESTDIR} (${DESTDIR}/SETS.*) and leave them. Teach list generators

re: CVS commit: src/share/mk

2009-12-11 Thread matthew green
Module Name: src Committed By:uebayasi Date:Fri Dec 11 08:37:34 UTC 2009 Modified Files: src/share/mk: bsd.own.mk Log Message: ${GENCMD} is used to generate only one output from file generation commands which potentially have multiple ou

Re: CVS commit: src

2009-12-11 Thread Masao Uebayashi
> Log Message: > Move the test for evbppc out of sets.subr and into bsd.own.mk, to > decide whether to make kernel modules: set MKKMOD to no for evbppc. > Use this in etc/Makefile to decide whether to do the "modules" > obsolete sets. Move the ./var/db/obsolete/modules entry from the > "mi" to the

Re: CVS commit: src/share/mk

2009-12-11 Thread Matthias Scheler
On Fri, Dec 04, 2009 at 11:21:07AM +, Adam Hamsik wrote: > Module Name: src > Committed By: haad > Date: Fri Dec 4 11:21:07 UTC 2009 > > Modified Files: > src/share/mk: bsd.own.mk > > Log Message: > Switch MKLVM to default value to yes. There are only few bits missing and it >

Re: CVS commit: src/distrib/sets

2009-12-11 Thread Masao Uebayashi
> Log Message: > Prefix mkvars.mk with ${rundir}/, so that the scripts from this > dir using sets.subr can be run from another directory, as is done > e.g. during "make release" via the mksums script. Thanks! Masao