]> granicus.if.org Git - curl/commitdiff
checksrc: Fix issue with the autobuilds not picking up the whitelist
authorSteve Holme <steve_holme@hotmail.com>
Fri, 8 Apr 2016 19:32:40 +0000 (20:32 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 8 Apr 2016 19:32:40 +0000 (20:32 +0100)
lib/Makefile.am
src/Makefile.am

index c5a4cc3e7ad706559d360393847425902c8eb10a..f3f56a05ef17543e655fb6cc1915b2c28febb5d3 100644 (file)
@@ -146,7 +146,7 @@ libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS)
 libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS)
 
 checksrc:
-       @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]
+       @PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/lib -Wcurl_config.h *.[ch] vauth/*.[ch] vtls/*.[ch]
 
 if CURLDEBUG
 # for debug builds, we scan the sources on all regular make invokes
index aa8a7154a9abf3dc456d0f26382a60584e606624..fa6833167064e881e96f7dbc135eac3f8acd353c 100644 (file)
@@ -130,7 +130,7 @@ endif
 # ignore tool_hugehelp.c since it is generated source code and it plays
 # by slightly different rules!
 checksrc:
-       @@PERL@ $(top_srcdir)/lib/checksrc.pl -W$(top_srcdir)/src/tool_hugehelp.c $(top_srcdir)/src/*.[ch]
+       @@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/src -Wtool_hugehelp.c *.[ch]
 
 if CURLDEBUG
 # for debug builds, we scan the sources on all regular make invokes