diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 14:58:11 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 14:58:11 +0200 |
commit | ab493af731a55ca0c7936f277bfb2a24a1b723d9 (patch) | |
tree | 04d622790cd646cefeb743285e7f792e03419290 /lib | |
parent | 743fa106709cc391077ceb6237e42f6bed65cd4a (diff) |
checksrc/makefile.am: use $top_srcdir to find source files
... to properly support out of source tree builds.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
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 |