The branch master has been updated
       via  c4fad5d348a5f57c4c08e63c444702c310ec891a (commit)
      from  b26befb541f8bc7d4f4e0beead50248b16949932 (commit)


- Log -----------------------------------------------------------------
commit c4fad5d348a5f57c4c08e63c444702c310ec891a
Author: Dr. Matthias St. Pierre <[email protected]>
Date:   Mon Jun 18 22:09:20 2018 +0200

    Improve the output of `make doc-nits`
    
    - Print positive feedback in the case when 'make doc-nits' finds no errors.
    - Other than before, keep the 'doc-nits' output file only in case of errors
      and remove it if it is empty.
    - Declare 'doc-nits' as a phony make target to facilitate rerunning
      'make doc-nits' without having to remove the output file first.
    
    Reviewed-by: Rich Salz <[email protected]>
    Reviewed-by: Richard Levitte <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/6517)

-----------------------------------------------------------------------

Summary of changes:
 Configurations/unix-Makefile.tmpl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Configurations/unix-Makefile.tmpl 
b/Configurations/unix-Makefile.tmpl
index 10deec6..42da98d 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -708,9 +708,11 @@ update: generate errors ordinals
 generate: generate_apps generate_crypto_bn generate_crypto_objects \
           generate_crypto_conf generate_crypto_asn1 generate_fuzz_oids
 
+.PHONY: doc-nits
 doc-nits:
        (cd $(SRCDIR); $(PERL) util/find-doc-nits -n -p ) >doc-nits
-       if [ -s doc-nits ] ; then cat doc-nits; rm doc-nits ; exit 1; fi
+       @if [ -s doc-nits ] ; then cat doc-nits ; exit 1; \
+       else echo 'doc-nits: no errors.'; rm doc-nits ; fi
 
 # Test coverage is a good idea for the future
 #coverage: $(PROGRAMS) $(TESTPROGRAMS)
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to