summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-18 14:58:11 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-18 14:58:11 +0200
commitab493af731a55ca0c7936f277bfb2a24a1b723d9 (patch)
tree04d622790cd646cefeb743285e7f792e03419290 /src/Makefile.am
parent743fa106709cc391077ceb6237e42f6bed65cd4a (diff)
downloadcurl-ab493af731a55ca0c7936f277bfb2a24a1b723d9.tar.gz
checksrc/makefile.am: use $top_srcdir to find source files
... to properly support out of source tree builds.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fa6833167..28df6709e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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 -D$(top_srcdir)/src -Wtool_hugehelp.c *.[ch]
+ @PERL@ $(top_srcdir)/lib/checksrc.pl -W$(top_srcdir)/src/tool_hugehelp.c $(top_srcdir)/src/*.[ch]
if CURLDEBUG
# for debug builds, we scan the sources on all regular make invokes