mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
wire: remove --check-alignment arg from spec parsing tool.
It's no longer functional, and is being removed upstream. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ba20ace064
commit
7bfb9978de
@ -26,12 +26,11 @@ ALL_GEN_HEADERS += $(WIRE_GEN_HEADERS)
|
|||||||
|
|
||||||
# They may not have the bolts.
|
# They may not have the bolts.
|
||||||
BOLT_EXTRACT=$(BOLTDIR)/tools/extract-formats.py
|
BOLT_EXTRACT=$(BOLTDIR)/tools/extract-formats.py
|
||||||
# FIXME: Re-enable --check-alignment!
|
|
||||||
wire/gen_peer_wire_csv: FORCE
|
wire/gen_peer_wire_csv: FORCE
|
||||||
@set -e; if [ -f $(BOLT_EXTRACT) ]; then for f in $(BOLTDIR)/0[127]*.md $(BOLT_EXTRACT); do if [ $$f -nt $@ -o ! -f $@ ]; then $(BOLT_EXTRACT) --message-fields --message-types $(BOLTDIR)/0[127]*.md > $@; break; fi; done; fi
|
@set -e; if [ -f $(BOLT_EXTRACT) ]; then for f in $(BOLTDIR)/0[127]*.md $(BOLT_EXTRACT); do if [ $$f -nt $@ -o ! -f $@ ]; then $(BOLT_EXTRACT) --message-fields --message-types $(BOLTDIR)/0[127]*.md > $@; break; fi; done; fi
|
||||||
|
|
||||||
wire/gen_onion_wire_csv: FORCE
|
wire/gen_onion_wire_csv: FORCE
|
||||||
@set -e; if [ -f $(BOLT_EXTRACT) ]; then for f in $(BOLTDIR)/04*.md $(BOLT_EXTRACT); do if [ $$f -nt $@ -o ! -f $@ ]; then echo '#include <wire/onion_defs.h>' > $@ && $(BOLT_EXTRACT) --message-fields --message-types --check-alignment $(BOLTDIR)/04*.md >> $@; break; fi; done; fi
|
@set -e; if [ -f $(BOLT_EXTRACT) ]; then for f in $(BOLTDIR)/04*.md $(BOLT_EXTRACT); do if [ $$f -nt $@ -o ! -f $@ ]; then echo '#include <wire/onion_defs.h>' > $@ && $(BOLT_EXTRACT) --message-fields --message-types $(BOLTDIR)/04*.md >> $@; break; fi; done; fi
|
||||||
|
|
||||||
wire/gen_peer_wire.h: $(WIRE_GEN) wire/gen_peer_wire_csv
|
wire/gen_peer_wire.h: $(WIRE_GEN) wire/gen_peer_wire_csv
|
||||||
$(WIRE_GEN) --bolt --header $@ wire_type < wire/gen_peer_wire_csv > $@
|
$(WIRE_GEN) --bolt --header $@ wire_type < wire/gen_peer_wire_csv > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user