make/checksrc: use $srcdir, not $top_srcdir

This commit is contained in:
Daniel Stenberg 2016-04-19 08:48:36 +02:00
parent 5470c86845
commit a07727005a
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)