Makefile: make check-includes check all the non-generated files.

Note that check-whitespace and check-bolt already do this, so we
can eliminate redundant lines in common/Makefile and bitcoin/Makefile.

We also include the plugin headers in ALL_C_HEADERS so they get
checked.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-10-22 11:27:07 +10:30
parent 5e865ce42b
commit a8177e9013
22 changed files with 35 additions and 37 deletions

View File

@@ -1,9 +1,9 @@
#include <wallet/db_common.h>
#include "db_postgres_sqlgen.c"
#include <ccan/ccan/tal/str/str.h>
#include <ccan/endian/endian.h>
#include <lightningd/log.h>
#include <stdio.h>
#include <wallet/db_common.h>
#if HAVE_POSTGRES
/* Indented in order not to trigger the inclusion order check */