Date:2010-10-18 01:37:42 (8 years 10 months ago)
Author:Werner Almesberger
Commit:2dec6466c477caf31c0193eee08f8e25784185e0
Message: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
Files: bom/Makefile (1 diff)

Change Details

bom/Makefile
3434dk/digi-key.dsc:
3535        $(MAKE) -C dk digi-key.dsc
3636
37SHOW_PRETTY = (echo '\#ORD'; grep '^$(2) ' $(1).ord ; ) | \
38        $(BOOM) prettyord - $(3) | \
39        sed 's/^... //' | \
40        awk '{ s += $$(NF); if ($$(NF)+0) n++; print; } \
41        END { print "$(4)", s, "items:", n }'
42
4337show-atusd: atusd.ord $(DSC)
44        $(call SHOW_PRETTY,atusd,DIGI-KEY,$(DSC),USD)
38        grep -vw ATRF atusd.ord | $(BOOM) prettyord -t - $(DSC) | \
39          sed 's/^... //'
4540
4641spotless:
4742        $(MAKE) -C dk spotless

Archive Download the corresponding diff file



interactive