From: ian Date: Sun, 12 Sep 2004 16:33:41 +0000 (+0000) Subject: Make tarball of postscripts X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=abbe828e46a4883e4cdc3331a782eb83e2e7679f;p=trains.git Make tarball of postscripts --- diff --git a/pcb/Makefile b/pcb/Makefile index 76d4555..d6b297d 100644 --- a/pcb/Makefile +++ b/pcb/Makefile @@ -63,7 +63,7 @@ include panel3.layers.dep m/^(\S+)\s+(\w+)\s+(\w+)\s+(\S.*)$$/ or die; \ system "cp ../$*.pcb.output_$$1.$$3 $$2.$$3"; \ die $$? if $$?; \ - $$_= sprintf "%-20s %s\n", $$2.$$3, $$4; \ + $$_= sprintf "%-20s %s\n", "$$2.$$3", $$4; \ ' >readme.txt; \ zip -l ../$@.new * mv -f $@.new $@ @@ -76,6 +76,9 @@ panel3.pcb: pcb-panelise $(PANEL3_PCBS) Makefile $*.zip: $*.pcb.output_$$1.$$2/ or die' \ +%.out-ps.tar: + GZIP=-9v tar zvcf $@.gz $*.pcb.output_*.ps + %.layers.dep: layers.txt.tmpl Makefile perl -pe \ 's/^(\S+)\s+\w+\s+(\w+)\s.*/$*.zip: $*.pcb.output_$$1.$$2/ or die' \ diff --git a/pcb/panel3.out-ps.tar.gz b/pcb/panel3.out-ps.tar.gz index d2e7c26..c926194 100644 Binary files a/pcb/panel3.out-ps.tar.gz and b/pcb/panel3.out-ps.tar.gz differ diff --git a/pcb/panel3.zip b/pcb/panel3.zip index ecccef9..d9d96c5 100644 Binary files a/pcb/panel3.zip and b/pcb/panel3.zip differ diff --git a/pic.make b/pic.make index 76d4555..d6b297d 100644 --- a/pic.make +++ b/pic.make @@ -63,7 +63,7 @@ include panel3.layers.dep m/^(\S+)\s+(\w+)\s+(\w+)\s+(\S.*)$$/ or die; \ system "cp ../$*.pcb.output_$$1.$$3 $$2.$$3"; \ die $$? if $$?; \ - $$_= sprintf "%-20s %s\n", $$2.$$3, $$4; \ + $$_= sprintf "%-20s %s\n", "$$2.$$3", $$4; \ ' >readme.txt; \ zip -l ../$@.new * mv -f $@.new $@ @@ -76,6 +76,9 @@ panel3.pcb: pcb-panelise $(PANEL3_PCBS) Makefile $*.zip: $*.pcb.output_$$1.$$2/ or die' \ +%.out-ps.tar: + GZIP=-9v tar zvcf $@.gz $*.pcb.output_*.ps + %.layers.dep: layers.txt.tmpl Makefile perl -pe \ 's/^(\S+)\s+\w+\s+(\w+)\s.*/$*.zip: $*.pcb.output_$$1.$$2/ or die' \ diff --git a/spice/Makefile b/spice/Makefile index 76d4555..d6b297d 100644 --- a/spice/Makefile +++ b/spice/Makefile @@ -63,7 +63,7 @@ include panel3.layers.dep m/^(\S+)\s+(\w+)\s+(\w+)\s+(\S.*)$$/ or die; \ system "cp ../$*.pcb.output_$$1.$$3 $$2.$$3"; \ die $$? if $$?; \ - $$_= sprintf "%-20s %s\n", $$2.$$3, $$4; \ + $$_= sprintf "%-20s %s\n", "$$2.$$3", $$4; \ ' >readme.txt; \ zip -l ../$@.new * mv -f $@.new $@ @@ -76,6 +76,9 @@ panel3.pcb: pcb-panelise $(PANEL3_PCBS) Makefile $*.zip: $*.pcb.output_$$1.$$2/ or die' \ +%.out-ps.tar: + GZIP=-9v tar zvcf $@.gz $*.pcb.output_*.ps + %.layers.dep: layers.txt.tmpl Makefile perl -pe \ 's/^(\S+)\s+\w+\s+(\w+)\s.*/$*.zip: $*.pcb.output_$$1.$$2/ or die' \