Browse Source

Makefile: make wire generated CSV depend on config.

Required if we change EXPERIMENTAL_FEATURES for example.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pull/2938/head
Rusty Russell 6 years ago
parent
commit
837530514a
  1. 3
      wire/Makefile

3
wire/Makefile

@ -64,6 +64,9 @@ wire/gen_onion_wire_csv: wire/extracted_onion_wire_csv
@cp $< $@ @cp $< $@
endif endif
# We (may) need to rebuild these if config changes
wire/gen_peer_wire_csv wire/gen_onion_wire_csv: config.vars
wire/gen_peer_wire.h: wire/gen_peer_wire_csv $(WIRE_BOLT_DEPS) wire/gen_peer_wire.h: wire/gen_peer_wire_csv $(WIRE_BOLT_DEPS)
$(BOLT_GEN) -s --page header $@ wire_type < $< > $@ $(BOLT_GEN) -s --page header $@ wire_type < $< > $@

Loading…
Cancel
Save