summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-01 00:30:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-01 10:47:55 +0200
commitfaeec840f37715c942dc9623b422284835c9218f (patch)
tree9463ad3669dfe0ff6677ccd19a1c52f4474cb108 /docs
parenta39ecb3fac78750621536ed3ff4e65fd19064277 (diff)
downloadcurl-faeec840f37715c942dc9623b422284835c9218f.tar.gz
checksrc: invoke script with -D to find .checksrc proper
Without the -D command line option, checksrc.pl won't know which directory to load the ".checksrc" file from when building out of the source tree. Reported-by: Marcel Raad Fixes #5715 Closes #5755
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index db4d12337..44372a19c 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -67,4 +67,4 @@ CS_1 =
CS_ = $(CS_0)
checksrc:
- $(CHECKSRC)(@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c)
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(srcdir) $(srcdir)/*.c)