* update_web_docs_svn: Simplify build of gnat_ugn.

From-SVN: r213503
This commit is contained in:
Arnaud Charlet 2014-08-01 19:00:14 +00:00 committed by Arnaud Charlet
parent fba8a9e3f6
commit aaebbe1f5e
2 changed files with 6 additions and 16 deletions

View File

@ -1,3 +1,7 @@
2014-08-01 Arnaud Charlet <charlet@adacore.com>
* update_web_docs_svn: Simplify build of gnat_ugn.
2014-06-12 Richard Biener <rguenther@suse.de>
* crontab: Remove 4.7 snapshot entry.

View File

@ -20,11 +20,7 @@ MANUALS="cpp
gcj
gfortran
gfc-internals
gnat_ug_unx
gnat_ug_vms
gnat_ug_vxw
gnat_ug_wnt
gnat_ugn_unw
gnat_ugn
gnat-style
gnat_rm
libgomp
@ -118,8 +114,6 @@ fi
find gcc -type f \( -name '*.texi' \
-o -path gcc/gcc/doc/install.texi2html \
-o -path gcc/gcc/doc/include/texinfo.tex \
-o -path gcc/gcc/ada/xgnatugn.adb \
-o -path gcc/gcc/ada/ug_words \
-o -path gcc/gcc/BASE-VER \
-o -path gcc/gcc/DEV-PHASE \
-o -print0 \) | xargs -0 rm -f
@ -131,14 +125,6 @@ tar cf docs-sources.tar gcc
# and fdl.texi.
includedir=gcc/gcc/doc/include
# Generate gnat_ugn_unw
if [ -f gcc/gcc/ada/xgnatugn.adb ]; then
gnatmake -q gcc/gcc/ada/xgnatugn
./xgnatugn unw gcc/gcc/ada/gnat_ugn.texi \
gcc/gcc/ada/ug_words gnat_ugn_unw.texi
fi
# Generate gcc-vers.texi.
(
echo "@set version-GCC $(cat gcc/gcc/BASE-VER)"
@ -161,7 +147,7 @@ for file in $MANUALS; do
filename=`find . -name ${file}.texi`
if [ "${filename}" ]; then
includes="-I ${includedir} -I `dirname ${filename}`"
if [ "$file" = "gnat_ugn_unw" ]; then
if [ "$file" = "gnat_ugn" ]; then
includes="$includes -I gcc/gcc/ada"
fi
makeinfo --html $includes -o ${file} ${filename}