From: Daniel Stenberg Date: Wed, 21 Dec 2016 22:40:41 +0000 (+0100) Subject: tests/Makefile: run checksrc on debug builds X-Git-Tag: curl-7_52_1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a01b33c313f15294024efe7652ec7ac4e848f5b;p=thirdparty%2Fcurl.git tests/Makefile: run checksrc on debug builds ... just like we already do in src/ and lib/ --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 585d0171d1..d9dbf0e157 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -99,3 +99,8 @@ checksrc: cd libtest && $(MAKE) checksrc cd unit && $(MAKE) checksrc cd server && $(MAKE) checksrc + +if CURLDEBUG +# for debug builds, we scan the sources on all regular make invokes +all-local: checksrc +endif