lib/make: run checksrc.pl once for all files

Since it now supports multiple files this will be faster and will show
problems for more file than one at a time - more convenient.
This commit is contained in:
Daniel Stenberg 2011-04-22 23:00:31 +02:00
parent 7ddcc8fea4
commit 1b758b01c1
1 changed files with 1 additions and 1 deletions

View File

@ -188,6 +188,6 @@ $(VCPROJ): vc8proj.head vc8proj.foot Makefile.am
if CURLDEBUG
# for debug builds, we scan the sources on all regular make invokes
all-local:
@for i in $(CSOURCES) $(HHEADERS); do @PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/lib/$$i; if test $$? != "0"; then exit 1; fi; done
@@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(top_srcdir)/lib $(CSOURCES) $(HHEADERS)
endif