From ab493af731a55ca0c7936f277bfb2a24a1b723d9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Apr 2016 14:58:11 +0200 Subject: checksrc/makefile.am: use $top_srcdir to find source files ... to properly support out of source tree builds. --- lib/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 0e56aec27..1e0fda387 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -146,7 +146,8 @@ libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS) libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS) checksrc: - @@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/lib -Wcurl_config.h *.[ch] vauth/*.[ch] vtls/*.[ch] + @PERL@ $(top_srcdir)/lib/checksrc.pl -W$(top_srcdir)/lib/curl_config.h \ + $(top_srcdir)/lib/*.[ch] $(top_srcdir)/lib/vauth/*.[ch] $(top_srcdir)/lib/vtls/*.[ch] if CURLDEBUG # for debug builds, we scan the sources on all regular make invokes -- cgit v1.2.3