From ab493af731a55ca0c7936f277bfb2a24a1b723d9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Apr 2016 14:58:11 +0200 Subject: checksrc/makefile.am: use $top_srcdir to find source files ... to properly support out of source tree builds. --- tests/libtest/Makefile.am | 2 +- tests/server/Makefile.am | 2 +- tests/unit/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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) -- cgit v1.2.3