Review comments; fail build if nits found

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2202)
This commit is contained in:
Rich Salz 2017-01-12 08:20:54 -05:00
parent 29ee1be50c
commit 65c1f979ee
3 changed files with 7 additions and 5 deletions

1
.gitignore vendored
View File

@ -177,3 +177,4 @@ pod2htmd.tmp
# Windows manifest files
*.manifest
doc-nits

View File

@ -29,9 +29,9 @@ compiler:
- gcc
env:
- CONFIG_OPTS="" DESTDIR="_install" CHECKDOCS="yes"
- CONFIG_OPTS="" DESTDIR="_install"
- CONFIG_OPTS="--debug no-shared enable-crypto-mdebug enable-rc5 enable-md2"
- CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes"
- CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes" CHECKDOCS="yes"
- CONFIG_OPTS="no-engine no-shared --strict-warnings" BUILDONLY="yes"
- CONFIG_OPTS="no-stdio --strict-warnings" BUILDONLY="yes"

View File

@ -323,9 +323,6 @@ install_sw: all install_dev install_engines install_runtime
uninstall_sw: uninstall_runtime uninstall_engines uninstall_dev
doc-nits:
$(PERL) util/find-doc-nits.pl -n
install_docs: install_man_docs install_html_docs
uninstall_docs: uninstall_man_docs uninstall_html_docs
@ -677,6 +674,10 @@ update: generate errors ordinals
generate: generate_apps generate_crypto_bn generate_crypto_objects \
generate_crypto_conf generate_crypto_asn1
doc-nits:
(cd $(SRCDIR); $(PERL) util/find-doc-nits.pl -n ) >doc-nits
if [ -s doc-nits ] ; then cat doc-nits; exit 1; fi
# Test coverage is a good idea for the future
#coverage: $(PROGRAMS) $(TESTPROGRAMS)
# ...