]> granicus.if.org Git - curl/commitdiff
make/checksrc: use $srcdir, not $top_srcdir
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Apr 2016 06:48:36 +0000 (08:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Apr 2016 06:56:06 +0000 (08:56 +0200)
docs/examples/Makefile.am
tests/libtest/Makefile.am
tests/server/Makefile.am
tests/unit/Makefile.am

index 402d0fb4e62c9cb214c6eae4a93b8fca21e48c80..7a56f345cf674ec5d758465ec4844206bc8c7f01 100644 (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
index a22e9610f30ab5b0664725bdeff1bbdafec3216d..826b3d4f5581a10c900630e861afe9f5cc76b4c2 100644 (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
index 42efd776259dfcc2619bb524c5608dad505936e4..e274c01ab08d221475a1b442d53153dd6417ba98 100644 (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
index 1ce798bee07f97a05d03ad487f1158755006ea32..d4987d69d050d3b7b6c2981498730ee370f9c456 100644 (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)