diff options
author | Rich Salz <rsalz@akamai.com> | 2019-08-29 21:37:01 +0200 |
---|---|---|
committer | Paul Yang <kaishen.yy@antfin.com> | 2019-09-20 04:41:19 +0200 |
commit | fbad6e79fae1ed12c5d3b5611f490e75066adfad (patch) | |
tree | f5fad39d7d99628e9216bf98c365bf053881f8b5 /Configurations | |
parent | Avoid ?: construct in XXXerr calls (diff) | |
download | openssl-fbad6e79fae1ed12c5d3b5611f490e75066adfad.tar.xz openssl-fbad6e79fae1ed12c5d3b5611f490e75066adfad.zip |
Exit non-zero if find-doc-nits finds nits
Filter all output to a new &err() routine, which sets the global
exit status, $status.
Also, fix all subroutine definitions and references to be consistent:
no prototypes, no & before function calls.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/9733)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 36cb253bf2..1267a2a96d 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -729,9 +729,7 @@ generate: generate_apps generate_crypto_bn generate_crypto_objects \ .PHONY: doc-nits doc-nits: build_generated - (cd $(SRCDIR); $(PERL) util/find-doc-nits -n -p -s ) >doc-nits - @if [ -s doc-nits ] ; then cat doc-nits ; exit 1; \ - else echo 'doc-nits: no errors.'; rm doc-nits ; fi + (cd $(SRCDIR); $(PERL) util/find-doc-nits -n -p -s ) # Test coverage is a good idea for the future #coverage: $(PROGRAMS) $(TESTPROGRAMS) |