make: Add msggen generated files to check-gen-updated target

Changelog-None
This commit is contained in:
Christian Decker 2022-07-12 18:12:41 +02:00 committed by Rusty Russell
parent 5ef6729224
commit 99367dbb32
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,4 @@
{
"grpc-enum-map": {
"CloseType": {
@ -1076,4 +1077,4 @@
"Withdraw.txid": 2
}
}
}
}

View File

@ -571,7 +571,18 @@ full-check: check check-source
#
# Do not run on your development tree since it will complain if you
# have a dirty tree.
check-gen-updated: $(ALL_GEN_HEADERS) $(ALL_GEN_SOURCES) wallet/statements_gettextgen.po $(MANPAGES)
CHECK_GEN_ALL = \
$(CLN_GRPC_GENALL) \
$(CLN_RPC_GENALL) \
$(MANPAGES) \
$(WALLET_DB_QUERIES) \
$(PYTHON_GENERATED) \
$(ALL_GEN_HEADERS) \
$(ALL_GEN_SOURCES) \
wallet/statements_gettextgen.po \
.msggen.json
check-gen-updated: $(CHECK_GEN_ALL)
@echo "Checking for generated files being changed by make"
git diff --exit-code HEAD $?