libstdc++: Reduce output of 'make doc-pdf-doxygen'
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 Apr 2021 13:49:28 +0000 (14:49 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 28 Apr 2021 13:49:28 +0000 (14:49 +0100)
commit43a35b26e2fd2fab9c0c3ebac67e3a6c439daef4
tree3b12639e174b6bf6050fef39ac25b7282311bd1a
parent5cc28000cfcc219fb4c45dbc5388ec05109049af
libstdc++: Reduce output of 'make doc-pdf-doxygen'

Use '@' to prevent Make from echoing the recipe, so that users don't see
this every time:

  if [ -f ${doxygen_pdf} ]; then
    mv ${doxygen_pdf} ${api_pdf} ;
    echo ":: PDF file is ${api_pdf}";
  else
    echo "... error";
    grep -F 'LaTeX Error' ${doxygen_outdir}/latex/refman.log;
    grep -F 'TeX capacity exceeded, sorry' ${doxygen_outdir}/latex/refman.log;
    exit 12;
  fi

The presence of the "error" strings in the output makes it look like an
error happened. By suppressing the echoing user's will only see "error"
if the 'else' branch is taken.

libstdc++-v3/ChangeLog:

* doc/Makefile.am (stamp-pdf-doxygen): Improve comment about
dealing with errors. Use '@' to prevent shell command being
echoed.
* doc/Makefile.in: Regenerate.
libstdc++-v3/doc/Makefile.am
libstdc++-v3/doc/Makefile.in