aboutsummaryrefslogtreecommitdiff
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
parent5470c86845d86aa061a097af6c0d674c54a0724b (diff)
make/checksrc: use $srcdir, not $top_srcdir
-rw-r--r--docs/examples/Makefile.am2
-rw-r--r--tests/libtest/Makefile.am2
-rw-r--r--tests/server/Makefile.am2
-rw-r--r--tests/unit/Makefile.am2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index 402d0fb4e..7a56f345c 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -63,4 +63,4 @@ include Makefile.inc
all: $(check_PROGRAMS)
checksrc:
- @PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/docs/examples/*.c
+ @PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c
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)