summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--tests/Makefile.am3
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 88b6538..b70e4fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,5 +28,8 @@ AM_MAKEFLAGS_1 =
AM_MAKEFLAGS_ = ${AM_MAKEFLAGS_0}
AM_MAKEFLAGS = ${AM_MAKEFLAGS_@AM_V@}
+check-build: all
+ ${MAKE} ${AM_MAKEFLAGS} -C tests check-build
+
check-syntax:
@./tools/check-syntax
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7cda78b..d50e29b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -55,5 +55,8 @@ check_PROGRAMS = \
EXTRA_PROGRAMS = 00-test
+check-build:
+ ${MAKE} ${AM_MAKEFLAGS} ${check_PROGRAMS}
+
clean-local:
${RM} -f 00-test *.pyc