diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 20:10:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 20:10:52 +0200 |
commit | a542536cf6e8f2eab0788486a60f810a58cb3b3e (patch) | |
tree | 652abd658006babe74d4d72a3c12ceaebb6db5b5 /src/Makefile.am | |
parent | fb823d24f1b5c26a5f4728e15d3bbab777f7be33 (diff) | |
download | curl-a542536cf6e8f2eab0788486a60f810a58cb3b3e.tar.gz |
checksrc: pass on -D so the whitelists are found correctly
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 28df6709e..79c4f4f10 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -130,7 +130,8 @@ 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$(srcdir) \ + -W$(srcdir)/tool_hugehelp.c $(srcdir)/*.[ch] if CURLDEBUG # for debug builds, we scan the sources on all regular make invokes |