rename telemetrum.bom to partslist to avoid conflict with pcb export
authorBdale Garbee <bdale@gag.com>
Sun, 1 Nov 2009 07:09:44 +0000 (01:09 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 1 Nov 2009 07:09:44 +0000 (01:09 -0600)
Makefile

index caa3e3c3833ee19064bba60bfe8335a409d11245..028d46216108a1f319eadae2e4a95ae290162949 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,13 @@
 # intentionally want to rebuild drc and bom on every invocation
-all:   drc bom pcb
+all:   drc partslist pcb
 
 drc:   telemetrum.sch
        -gnetlist -g drc2 telemetrum.sch -o telemetrum.drc
 
-# telemetrum.bom will be overwritten by PCB export BOM to get XYRS .. sigh
-bom:   telemetrum.sch
+partslist:     telemetrum.sch
        gnetlist -g bom -o telemetrum.unsorted telemetrum.sch
-       head -n1 telemetrum.unsorted > telemetrum.bom
-       tail -n+2 telemetrum.unsorted | sort >> telemetrum.bom
+       head -n1 telemetrum.unsorted > partslist
+       tail -n+2 telemetrum.unsorted | sort >> partslist
        rm -f telemetrum.unsorted
 
 pcb:   telemetrum.sch project
@@ -34,6 +33,6 @@ zip:  telemetrum.back.gbr telemetrum.backmask.gbr telemetrum.fab.gbr telemetrum.f
 
 clean:
        rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd *.png
+       rm -f *.net *.xy *.cmd *.png partslist
        rm -f *.partslist *.new.pcb *.unsorted