aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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)