Merged in the two changes from 'nextcut' branch necessary to make a v0.1
[hw/telemetrum] / Makefile
index e3afde2f66dc1c479d8c8f6d67529813c451e3c4..05b807d40d0bbb6d6c6a29bb494e846b636dbfa4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,10 +13,26 @@ bom:        telemetrum.sch
 pcb:   telemetrum.sch project
        gsch2pcb project
 
-zip:   telemetrum.plated-drill.cnc telemetrum.back.gbr telemetrum.front.gbr telemetrum.fab.gbr
-       zip telemetrum.zip telemetrum.plated-drill.cnc telemetrum.back.gbr telemetrum.front.gbr telemetrum.fab.gbr
+# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this
+# might be a really good idea for publishing designs to the web that others
+# might review?  Like this example from DJ:
+#
+#web :
+#        for i in channel.sch ethernet.sch power.sch mcu.sch; do \
+#          cp $$i tmp.sch ; \
+#          gschlas -e tmp.sch ; \
+#          mv tmp.sch ${WEB}/$$i; \
+#        done
+
+# this shoves local work out to the git.gag.com repository
+push:  
+       git push --mirror
+
+zip:   telemetrum.back.gbr telemetrum.backmask.gbr telemetrum.fab.gbr telemetrum.front.gbr telemetrum.frontmask.gbr telemetrum.frontpaste.gbr telemetrum.frontsilk.gbr telemetrum.group2.gbr telemetrum.group3.gbr telemetrum.plated-drill.cnc
+       zip telemetrum.zip *.gbr *.cnc
 
 clean:
        rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd
+       rm -f *.net *.xy *.cmd *.png
        rm -f *.partslist *.new.pcb *.unsorted
+