* 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> 2014-06-12 Richard Biener <rguenther@suse.de>
* crontab: Remove 4.7 snapshot entry. * crontab: Remove 4.7 snapshot entry.

View File

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