Add ability to include more stuff with seeed .zip file
authorKeith Packard <keithp@keithp.com>
Thu, 19 May 2016 04:57:15 +0000 (21:57 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 19 May 2016 04:57:15 +0000 (21:57 -0700)
Useful for attaching test instructions or whatever

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

diff --git a/pcb.mk b/pcb.mk
index 4386ec5ba07a9505870a6c10283a5a11ff003282..8c2c1162b31865e6d889d18676794aec5f51e737 100644 (file)
--- a/pcb.mk
+++ b/pcb.mk
@@ -145,7 +145,7 @@ $(PROJECT)-oshpark.zip: $(PROJECT).bottom.gbr $(PROJECT).all-drill.cnc
 
 seeed: $(PROJECT)-seeed.zip $(PROJECT)-seeed.csv
 
-$(PROJECT)-seeed.zip: $(PROJECT).bottom.gbr $(PROJECT).all-drill.cnc $(PROJECT)-sch.pdf
+$(PROJECT)-seeed.zip: $(PROJECT).bottom.gbr $(PROJECT).all-drill.cnc $(PROJECT)-sch.pdf $(SEEED_EXTRA)
        cp $(PROJECT).bottom.gbr $(PROJECT).gbl
        cp $(PROJECT).bottommask.gbr $(PROJECT).gbs
        if [ -f $(PROJECT).bottomsilk.gbr ]; then \
@@ -176,7 +176,8 @@ $(PROJECT)-seeed.zip: $(PROJECT).bottom.gbr $(PROJECT).all-drill.cnc $(PROJECT)-
                $(PROJECT).gbl $(PROJECT).gbs $(PROJECT).gbo $(PROJECT).gbp \
                $(PROJECT).gml $(PROJECT).txt \
                $(PROJECT).gl2 $(PROJECT).gl3 \
-               $(PROJECT).xy $(PROJECT)-sch.pdf
+               $(PROJECT).xy $(PROJECT)-sch.pdf \
+               $(SEEED_EXTRA)
 
 stencil:       $(PROJECT).bottom.gbr $(PROJECT).toppaste.gbr $(PROJECT).outline.gbr
        zip $(PROJECT)-stencil.zip $(PROJECT).toppaste.gbr $(PROJECT).outline.gbr