From a07727005a14e97c79c4a029db4569cd142fb5c6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Apr 2016 08:48:36 +0200 Subject: make/checksrc: use $srcdir, not $top_srcdir --- docs/examples/Makefile.am | 2 +- tests/libtest/Makefile.am | 2 +- tests/server/Makefile.am | 2 +- tests/unit/Makefile.am | 2 +- 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) -- cgit v1.2.3