diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-06-24 16:52:46 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-06-24 16:52:46 +0100 |
commit | 4f8f9b8fa57454daf5e1755764858ae9c7f6395b (patch) | |
tree | 0f2aefab536524af976c7b19a32fc271781728f3 /maintainer-scripts | |
parent | d166d4c3e54199524a809b00f388d2731774793e (diff) | |
download | gcc-4f8f9b8fa57454daf5e1755764858ae9c7f6395b.zip gcc-4f8f9b8fa57454daf5e1755764858ae9c7f6395b.tar.gz gcc-4f8f9b8fa57454daf5e1755764858ae9c7f6395b.tar.bz2 |
update_web_docs_svn: Also pass -I option pointing to ada/ source directory for Ada manual.
* update_web_docs_svn: Also pass -I option pointing to ada/ source
directory for Ada manual.
From-SVN: r161324
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/update_web_docs_svn | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index c790359..773bf6b 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-06-24 Joseph Myers <joseph@codesourcery.com> + + * update_web_docs_svn: Also pass -I option pointing to ada/ source + directory for Ada manual. + 2010-04-16 Joseph Myers <joseph@codesourcery.com> * crontab: Enable 4.6 snapshots. diff --git a/maintainer-scripts/update_web_docs_svn b/maintainer-scripts/update_web_docs_svn index 8fb59fd..a8fb395 100755 --- a/maintainer-scripts/update_web_docs_svn +++ b/maintainer-scripts/update_web_docs_svn @@ -153,10 +153,14 @@ fi for file in $MANUALS; do filename=`find . -name ${file}.texi` if [ "${filename}" ]; then - makeinfo --html -I ${includedir} -I `dirname ${filename}` -o ${file} ${filename} + includes="-I ${includedir} -I `dirname ${filename}`" + if [ "$file" = "gnat_ugn_unw" ]; then + includes="$includes -I gcc/gcc/ada" + fi + makeinfo --html $includes -o ${file} ${filename} tar cf ${file}-html.tar ${file}/*.html - texi2dvi -I ${includedir} -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi - texi2pdf -I ${includedir} -o ${file}.pdf ${filename} </dev/null + texi2dvi $includes -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi + texi2pdf $includes -o ${file}.pdf ${filename} </dev/null mkdir -p $DOCSDIR/$file fi done |