=?utf-8?q?=5Bfolks=5D_build=3A_Update_valgrind=2Emk_to_match_automake-gen?= =?utf-8?b?ZXJhdGVkIOKAmGNoZWNr4oCZIHJ1bGU=?=



commit 514fd75eb19d7590fc056eabe16a2a739a6c1894
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Jan 2 16:01:18 2013 +0000

    build: Update valgrind.mk to match automake-generated âcheckâ rule
    
    The dependencies and chained rule were wrong. Not that it seems to
    make much difference.

 valgrind.mk |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/valgrind.mk b/valgrind.mk
index 5e365bb..e1a0a7f 100644
--- a/valgrind.mk
+++ b/valgrind.mk
@@ -1,8 +1,8 @@
-check: $(TESTS)
+check: $(BUILT_SOURCES)
 	if test -n "$$FOLKS_TEST_VALGRIND"; then \
 		G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly; \
 		G_SLICE=${G_SLICE},always-malloc; \
-		$(MAKE) \
+		$(MAKE) $(AM_MAKEFLAGS) \
 			TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) \
 			libtool --mode=execute valgrind \
 					--leak-check=full \
@@ -11,8 +11,8 @@ check: $(TESTS)
 					--num-callers=20 \
 					--error-exitcode=0 \
 					--log-file=valgrind.log.%p" \
-			check-TESTS; \
+			check-am; \
 	else \
-		$(MAKE) check-TESTS; \
+		$(MAKE) $(AM_MAKEFLAGS) check-am; \
 	fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]