From: Bdale Garbee Date: Fri, 5 Dec 2008 01:29:00 +0000 (-0700) Subject: sort reference designators in bill of materials X-Git-Tag: fab-v0.1~47 X-Git-Url: https://git.gag.com/?p=hw%2Ftelemetrum;a=commitdiff_plain;h=2388e6663782e72ae48ad4361ab55e014445b6e1 sort reference designators in bill of materials --- diff --git a/Makefile b/Makefile index 523442a..ef83c11 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,14 @@ +# intentionally want to rebuild drc and bom on every invocation all: drc bom drc: beacon.sch -gnetlist -g drc2 beacon.sch -o beacon.drc bom: beacon.sch - gnetlist -g bom -o beacon.bom beacon.sch + gnetlist -g bom -o beacon.unsorted beacon.sch + head -n1 beacon.unsorted > beacon.bom + tail -n+2 beacon.unsorted | sort >> beacon.bom + rm -f beacon.unsorted pcb: beacon.sch project gsch2pcb project @@ -15,4 +19,4 @@ zip: beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr clean: rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd - rm -f *.partslist *.new.pcb + rm -f *.partslist *.new.pcb *.unsorted