diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-14 10:40:38 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-14 20:11:24 +0100 |
commit | 5cf5d57ab9f9d0878c2116d8407bf060616f9950 (patch) | |
tree | 4e9ac7036a0bdbea36035869d7721eeba9c15f14 /lib/Makefile.am | |
parent | 2af732f364e4734a5a5fd432c77a374e84e5d76c (diff) | |
download | curl-5cf5d57ab9f9d0878c2116d8407bf060616f9950.tar.gz |
makefile: make checksrc and hugefile commands "silent"
... to match the style already used for compiling, linking
etc. Acknowledges 'make V=1' to enable verbose.
Closes #3681
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index f2034a2f2..7c258b3fa 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -131,9 +131,14 @@ include Makefile.inc libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS) libcurlu_la_SOURCES = $(CSOURCES) $(HHEADERS) +CHECKSRC = $(CS_$(V)) +CS_0 = @echo " RUN " $@; +CS_1 = +CS_ = $(CS_0) + checksrc: - @PERL@ $(srcdir)/checksrc.pl -D$(srcdir) -W$(srcdir)/curl_config.h \ - $(srcdir)/*.[ch] $(srcdir)/vauth/*.[ch] $(srcdir)/vtls/*.[ch] + $(CHECKSRC)(@PERL@ $(srcdir)/checksrc.pl -D$(srcdir) -W$(srcdir)/curl_config.h \ + $(srcdir)/*.[ch] $(srcdir)/vauth/*.[ch] $(srcdir)/vtls/*.[ch]) if CURLDEBUG # for debug builds, we scan the sources on all regular make invokes |