summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-01-09 22:41:26 -0500
committerRich Salz <rsalz@openssl.org>2017-01-12 09:31:36 -0500
commit29ee1be50ca2bc8feb3efa1d75740bd539566516 (patch)
tree29fc100835af0e67b76f98bc1a9023fe5c43c78b
parent23103a52e96d6126400ca135421e67c7d664dfe5 (diff)
Run find-doc-nits in travis
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2202)
-rw-r--r--.travis.yml5
-rw-r--r--Configurations/unix-Makefile.tmpl3
2 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c46956b65f..b6c87662dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,7 +29,7 @@ compiler:
- gcc
env:
- - CONFIG_OPTS="" DESTDIR="_install"
+ - CONFIG_OPTS="" DESTDIR="_install" CHECKDOCS="yes"
- CONFIG_OPTS="--debug no-shared enable-crypto-mdebug enable-rc5 enable-md2"
- CONFIG_OPTS="no-pic --strict-warnings" BUILDONLY="yes"
- CONFIG_OPTS="no-engine no-shared --strict-warnings" BUILDONLY="yes"
@@ -110,6 +110,9 @@ script:
cd _build;
fi
- $make update
+ - if [ -n "$CHECKDOCS" ]; then
+ $make doc-nits;
+ fi
- $make
- if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 84ceb76365..eefb50a8ea 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -323,6 +323,9 @@ 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