mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 04:56:16 +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:
parent
265ba07ab2
commit
2dec6466c4
@ -34,14 +34,9 @@ dk/digi-key.inv:
|
|||||||
dk/digi-key.dsc:
|
dk/digi-key.dsc:
|
||||||
$(MAKE) -C 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)
|
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:
|
spotless:
|
||||||
$(MAKE) -C dk spotless
|
$(MAKE) -C dk spotless
|
||||||
|
Loading…
Reference in New Issue
Block a user