[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: RenumberBuffer() --> poof!



DJ Delorie wrote:
>> Next, all we need is to backannotate the gschem schematic with that...
> 
> CHANNELS = \
> 	$(foreach c,1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20,dups/channel${c}.sch)
> 
> all : $(CHANNELS)
> 
> dups/channel%.sch : channel.sch
> 	page-renumber -n '.*' -s 10 -e 19 -b $*0 channel.sch - \
> 	| page-renumber -re 'netname=.*1' -s 1 -e 2 -b $* - $@
> 
> 
> Lay out one channel, run the script, add the extra pages to the
> project file, poof!  It all works.

"poof!"  is the magic word.  This looks like a bash script, but has some 
things I don't know...

all : $(CHANNELS)   seems like a for loop, and theuse of prens instead 
of braces are both new to me...

More hints?  Do you have a writeup already on gedasymbols.org?

John G


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user