1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 20:14:40 +02:00

Use prettyord -t plus a tiny bit of shell to do what SHOW_PRETTY did.

- bom/Makefile (SHOW_PRETTY): open-coded what little remained of this macro
- bom/Makefile (show-atusd): use prettyord -t to simplify the formatting
This commit is contained in:
Werner Almesberger 2010-10-17 20:37:42 -03:00
parent 265ba07ab2
commit 2dec6466c4

View File

@ -34,14 +34,9 @@ dk/digi-key.inv:
dk/digi-key.dsc:
$(MAKE) -C dk digi-key.dsc
SHOW_PRETTY = (echo '\#ORD'; grep '^$(2) ' $(1).ord ; ) | \
$(BOOM) prettyord - $(3) | \
sed 's/^... //' | \
awk '{ s += $$(NF); if ($$(NF)+0) n++; print; } \
END { print "$(4)", s, "items:", n }'
show-atusd: atusd.ord $(DSC)
$(call SHOW_PRETTY,atusd,DIGI-KEY,$(DSC),USD)
grep -vw ATRF atusd.ord | $(BOOM) prettyord -t - $(DSC) | \
sed 's/^... //'
spotless:
$(MAKE) -C dk spotless