Add muffins, fix 'zip' target.
authorKeith Packard <keithp@keithp.com>
Fri, 13 Feb 2015 22:07:36 +0000 (14:07 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Feb 2015 22:07:36 +0000 (14:07 -0800)
Just a couple of makefile tweaks

Signed-off-by: Keith Packard <keithp@keithp.com>
Makefile

index deb025d73bfc2306068c514e6e72a354106ca9da..df1cc8220e2a36da818b61d9b40e701c8bd64b8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,15 +45,19 @@ push:
 telemini.xy:   telemini.pcb
        pcb -x bom telemini.pcb
 
-telemini.back.gbr:     telemini.pcb
+telemini.bottom.gbr:   telemini.pcb
        pcb -x gerber telemini.pcb
 
-zip:   telemini.back.gbr telemini.backmask.gbr telemini.fab.gbr telemini.front.gbr telemini.frontmask.gbr telemini.frontpaste.gbr telemini.plated-drill.cnc telemini.xy  Makefile # telemini.xls
+zip:   telemini.bottom.gbr telemini.bottommask.gbr telemini.fab.gbr telemini.top.gbr telemini.topmask.gbr telemini.toppaste.gbr telemini.plated-drill.cnc telemini.xy  Makefile # telemini.xls
        zip telemini.zip telemini.*.gbr telemini.*.cnc telemini.xy # telemini.xls
-       zip -d telemini.zip telemini.frontsilk.gbr
+       zip -d telemini.zip telemini.topsilk.gbr
 
 clean:
        rm -f *.bom *.drc *.log *~ telemini.ps *.gbr *.cnc *bak* *- *.zip 
        rm -f *.net *.xy *.cmd *.png partslist partslist.csv
-       rm -f *.partslist *.new.pcb *.unsorted telemini.xls
+       rm -f *.partslist *.new.pcb *.unsorted telemini.xls muffin-5267.pdf
 
+muffins: partslist.csv $(AM)/glabels/muffin-5267.glabels
+       glabels-3-batch $(AM)/glabels/muffin-5267.glabels \
+               -i partslist.csv -o muffin-5267.ps >/dev/null && \
+               ps2pdf muffin-5267.ps && rm muffin-5267.ps