Mercurial > hg > CbC > CbC_gcc
comparison maintainer-scripts/update_web_docs_svn @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
13 | 13 |
14 MANUALS="cpp | 14 MANUALS="cpp |
15 cppinternals | 15 cppinternals |
16 fastjar | 16 fastjar |
17 gcc | 17 gcc |
18 gccgo | |
18 gccint | 19 gccint |
19 gcj | 20 gcj |
20 gfortran | 21 gfortran |
21 gfc-internals | 22 gfc-internals |
22 gnat_ug_unx | 23 gnat_ug_unx |
25 gnat_ug_wnt | 26 gnat_ug_wnt |
26 gnat_ugn_unw | 27 gnat_ugn_unw |
27 gnat-style | 28 gnat-style |
28 gnat_rm | 29 gnat_rm |
29 libgomp | 30 libgomp |
31 libquadmath | |
30 libiberty | 32 libiberty |
31 porting" | 33 porting" |
32 | 34 |
33 WWWBASE=/www/gcc/htdocs | 35 WWWBASE=/www/gcc/htdocs |
34 WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted | 36 WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted |
147 echo "@set srcdir $WORKDIR/gcc/gcc" | 149 echo "@set srcdir $WORKDIR/gcc/gcc" |
148 echo "@set VERSION_PACKAGE (GCC)" | 150 echo "@set VERSION_PACKAGE (GCC)" |
149 echo "@set BUGURL @uref{http://gcc.gnu.org/bugs/}" | 151 echo "@set BUGURL @uref{http://gcc.gnu.org/bugs/}" |
150 ) > $includedir/gcc-vers.texi | 152 ) > $includedir/gcc-vers.texi |
151 | 153 |
154 # Generate libquadmath-vers.texi. | |
155 echo "@set BUGURL @uref{http://gcc.gnu.org/bugs/}" \ | |
156 > $includedir/libquadmath-vers.texi | |
157 | |
152 # Now convert the relevant files from texi to HTML, PDF and PostScript. | 158 # Now convert the relevant files from texi to HTML, PDF and PostScript. |
153 for file in $MANUALS; do | 159 for file in $MANUALS; do |
154 filename=`find . -name ${file}.texi` | 160 filename=`find . -name ${file}.texi` |
155 if [ "${filename}" ]; then | 161 if [ "${filename}" ]; then |
156 makeinfo --html -I ${includedir} -I `dirname ${filename}` -o ${file} ${filename} | 162 includes="-I ${includedir} -I `dirname ${filename}`" |
163 if [ "$file" = "gnat_ugn_unw" ]; then | |
164 includes="$includes -I gcc/gcc/ada" | |
165 fi | |
166 makeinfo --html $includes -o ${file} ${filename} | |
157 tar cf ${file}-html.tar ${file}/*.html | 167 tar cf ${file}-html.tar ${file}/*.html |
158 texi2dvi -I ${includedir} -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi | 168 texi2dvi $includes -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi |
159 texi2pdf -I ${includedir} -o ${file}.pdf ${filename} </dev/null | 169 texi2pdf $includes -o ${file}.pdf ${filename} </dev/null |
160 mkdir -p $DOCSDIR/$file | 170 mkdir -p $DOCSDIR/$file |
161 fi | 171 fi |
162 done | 172 done |
163 | 173 |
164 # Then build a gzipped copy of each of the resulting .html, .ps and .tar files | 174 # Then build a gzipped copy of each of the resulting .html, .ps and .tar files |