Improve the output of `make doc-nits`
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Mon, 18 Jun 2018 20:09:20 +0000 (22:09 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 19 Jun 2018 15:13:03 +0000 (17:13 +0200)
commitc4fad5d348a5f57c4c08e63c444702c310ec891a
tree25100373241f0144540ae410423d43e94cde19d7
parentb26befb541f8bc7d4f4e0beead50248b16949932
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 <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6517)
Configurations/unix-Makefile.tmpl