aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent743fa106709cc391077ceb6237e42f6bed65cd4a (diff)
checksrc/makefile.am: use $top_srcdir to find source files
... to properly support out of source tree builds.
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/Makefile.am2
-rw-r--r--tests/server/Makefile.am2
-rw-r--r--tests/unit/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
index de83fcd23..a22e9610f 100644
--- a/tests/libtest/Makefile.am
+++ b/tests/libtest/Makefile.am
@@ -117,4 +117,4 @@ libhostname_la_LIBADD =
libhostname_la_DEPENDENCIES =
checksrc:
- @@PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/libtest/*.c
+ @PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/libtest/*.c
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
index 48c91d87c..42efd7762 100644
--- a/tests/server/Makefile.am
+++ b/tests/server/Makefile.am
@@ -63,4 +63,4 @@ include Makefile.inc
EXTRA_DIST = base64.pl Makefile.inc CMakeLists.txt
checksrc:
- @@PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/libtest/*.c
+ @PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/libtest/*.c
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index f44d623be..1ce798bee 100644
--- a/tests/unit/Makefile.am
+++ b/tests/unit/Makefile.am
@@ -72,7 +72,7 @@ AM_CPPFLAGS += -DCURL_STATICLIB -DUNITTESTS
include Makefile.inc
checksrc:
- @@PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/unit/*.c
+ @PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/unit/*.c
if BUILD_UNITTESTS
noinst_PROGRAMS = $(UNITPROGS)