aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-19 08:48:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-19 08:56:06 +0200
commita07727005a14e97c79c4a029db4569cd142fb5c6 (patch)
tree63b2c70734d45753d26ad471265f0187a80929ef /tests
parent5470c86845d86aa061a097af6c0d674c54a0724b (diff)
make/checksrc: use $srcdir, not $top_srcdir
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 a22e9610f..826b3d4f5 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 $(srcdir)/*.c
diff --git a/tests/server/Makefile.am b/tests/server/Makefile.am
index 42efd7762..e274c01ab 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 $(srcdir)/*.c
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index 1ce798bee..d4987d69d 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 $(srcdir)/*.c
if BUILD_UNITTESTS
noinst_PROGRAMS = $(UNITPROGS)