diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-06-13 08:47:13 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-06-13 08:47:13 +0100 |
commit | 4eb27c4174aea9d4930552c77bff75b662b4b849 (patch) | |
tree | ed1cb464aca2781a48193d92b6289ed971cd553f /maintainer-scripts | |
parent | 0317e5a24c41d619200b49d666e105525eae0bcc (diff) | |
download | gcc-4eb27c4174aea9d4930552c77bff75b662b4b849.zip gcc-4eb27c4174aea9d4930552c77bff75b662b4b849.tar.gz gcc-4eb27c4174aea9d4930552c77bff75b662b4b849.tar.bz2 |
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
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/generate_libstdcxx_web_docs | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 9c50902..18513fb 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -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. diff --git a/maintainer-scripts/generate_libstdcxx_web_docs b/maintainer-scripts/generate_libstdcxx_web_docs index 700e522..00ebcbf 100755 --- a/maintainer-scripts/generate_libstdcxx_web_docs +++ b/maintainer-scripts/generate_libstdcxx_web_docs @@ -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++ |