Index: Makefile.am
===================================================================
--- Makefile.am	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ Makefile.am	(revision ff593a32adef9a2078e1364158421083ef83d50a)
@@ -33,2 +33,9 @@
 
 man1_MANS = doc/man/cfa.1
+
+debug=yes
+check:
+	$(MAKE) -C tests all-tests install=no debug=${debug}
+
+installcheck:
+	$(MAKE) -C tests all-tests install=yes debug=${debug}
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ Makefile.in	(revision ff593a32adef9a2078e1364158421083ef83d50a)
@@ -374,4 +374,5 @@
 noinst_DATA = @LIBCFA_TARGET_MAKEFILES@
 man1_MANS = doc/man/cfa.1
+debug = yes
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -777,6 +778,4 @@
 install-am: all-am
 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
 install-strip:
 	if test -z '$(STRIP)'; then \
@@ -900,4 +899,9 @@
 	@echo "Configuring libcfa with '$(config_data)''"
 	@cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data)
+check:
+	$(MAKE) -C tests all-tests install=no debug=${debug}
+
+installcheck:
+	$(MAKE) -C tests all-tests install=yes debug=${debug}
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ tests/Makefile.am	(revision ff593a32adef9a2078e1364158421083ef83d50a)
@@ -17,4 +17,5 @@
 
 debug=yes
+installed=no
 
 quick_test=avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
Index: tests/Makefile.in
===================================================================
--- tests/Makefile.in	(revision 28582b2f67a95666cd46d6aa6b773838c5711333)
+++ tests/Makefile.in	(revision ff593a32adef9a2078e1364158421083ef83d50a)
@@ -296,4 +296,5 @@
 top_srcdir = @top_srcdir@
 debug = yes
+installed = no
 quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
 concurrent = 
