@@ -408,6 +408,7 @@ EXTRA_DIST += \
EXTRA_DIST += \
files \
tests \
+ tools \
$(NULL)
pkgconfigdir = $(libdir)/pkgconfig
@@ -421,6 +422,13 @@ build-all: all $(check_PROGRAMS) $(check_LTLIBRARIES)
###############################################################################
+check-tree:
+ "$(srcdir)/tools/check-tree.sh"
+
+check_local += check-tree
+
+###############################################################################
+
check-build: build-all
cd "$(srcdir)/tests/build/" ; \
CC="$(CC)" CFLAGS='-Werror' ./run-tests.sh
The script "tools/check-tree.sh" performs some consistency checks of the source tree. Call it from a make target "check-tree". Note that `make check-tree` is hooked into `make check-local`, which in turn is hooked into `make check` and `make distcheck`. Signed-off-by: Thomas Haller <thaller@redhat.com> --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+)