diff --git a/Makefile.am b/Makefile.am index 40cce3809..3f3b4b4d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,3 +18,10 @@ EXTRA_DIST = \ cf/make-proto.pl \ cf/check-symbols.sh \ cf/install-catman.sh + +# +# Useful target for debugging +# + +check-valgrind: + env TESTS_ENVIRONMENT="$(objdir)/libtool --mode execute valgrind --leak-check=full --quiet --suppressions=$(srcdir)/tools/valgrind-suppressions" make check