Add partslist-check.dk target
authorKeith Packard <keithp@keithp.com>
Sat, 3 Oct 2015 04:00:30 +0000 (21:00 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 3 Oct 2015 04:03:40 +0000 (21:03 -0700)
This helps validate the mfg_part_number field by constructing a DK
order using those instead of the DK numbers. Upload this version and
compare the resulting downloaded order with one constructed from the
regular DK numbers to make sure the mfg part numbers are all correct.

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

index 4ab45b5defb4d807c04688dd1ff19981cd5628f8..5012403bd8a68e9619fd877bcd4daa7a1a679c04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ $(PROJECT)-bom.csv: $(PROJECT).sch Makefile
 partslist.dk: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-bom.scm
        gnetlist -L $(SCHEME) -g partslist-bom -Ovendor=digikey -o $@ $(PROJECT).sch
 
+partslist-check.dk: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-mfg-bom.scm
+       gnetlist -L $(SCHEME) -g partslist-mfg-bom -Ovendor=digikey -o $@ $(PROJECT).sch
+
 partslist.mouser: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-bom.scm
        gnetlist -L $(SCHEME) -g partslist-bom -Ovendor=mouser -o $@ $(PROJECT).sch