chiark / gitweb /
Make tarball of postscripts
[trains.git] / spice / Makefile
index 76d4555860b59a1718f64aa6b950c57cf1e7ccb3..d6b297deb948118cebe06056433e9fb19880946b 100644 (file)
@@ -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' \