generate_libstdcxx_web_docs: Use realpath to get absolute path.

* generate_libstdcxx_web_docs: Use realpath to get absolute path.

	Add comment about LaTeX errors.

From-SVN: r237357
This commit is contained in:
Jonathan Wakely 2016-06-13 08:47:13 +01:00 committed by Jonathan Wakely
parent 0317e5a24c
commit 4eb27c4174
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-06-13 Jonathan Wakely <jwakely@redhat.com>
* generate_libstdcxx_web_docs: Use realpath to get absolute path.
Add comment about LaTeX errors.
2016-04-15 Jakub Jelinek <jakub@redhat.com>
* crontab: Enable snapshots from gcc-6-branch.

View File

@ -3,7 +3,7 @@
# i.e. http://gcc.gnu.org/onlinedocs/gcc-x.y.z/libstdc++*
SRCDIR=${1}
DOCSDIR=${2}
DOCSDIR=$(realpath ${2})
if ! [ $# -eq 2 -a -x "${SRCDIR}/configure" -a -d "${DOCSDIR}" ]
then
@ -34,6 +34,9 @@ set -x
${SRCDIR}/configure --enable-languages=c,c++ --disable-gcc $disabled_libs --docdir=/docs
eval `grep '^target=' config.log`
make configure-target
# If the following step fails with an error like
# ! LaTeX Error: File `xtab.sty' not found.
# then you need to install the relevant TeX package e.g. texlive-xtab
make -C $target/libstdc++-v3 doc-install-html doc-install-xml doc-install-pdf DESTDIR=$DESTDIR
cd $DESTDIR/docs
mkdir libstdc++