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

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