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>
This commit is contained in:
Rusty Russell 2019-07-24 14:10:29 +09:30
parent c5ae29d2b1
commit 837530514a
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ wire/gen_onion_wire_csv: wire/extracted_onion_wire_csv
@cp $< $@
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)
$(BOLT_GEN) -s --page header $@ wire_type < $< > $@