gcc
gccint
gcj
- g77
gfortran
gfc-internals
gnat_ug_unx
echo "@clear DEVELOPMENT"
fi
echo "@set srcdir $WORKDIR/gcc/gcc"
+ echo "@set VERSION_PACKAGE (GCC)"
+ echo "@set BUGURL @uref{http://gcc.gnu.org/bugs.html}"
) > $includedir/gcc-vers.texi
# Now convert the relevant files from texi to HTML, PDF and PostScript.
for file in $MANUALS; do
filename=`find . -name ${file}.texi`
if [ "${filename}" ]; then
- makeinfo --html -I ${includedir} -I `dirname ${filename}` ${filename}
+ makeinfo --html -I ${includedir} -I `dirname ${filename}` -o ${file} ${filename}
tar cf ${file}-html.tar ${file}/*.html
- texi2dvi -I ${includedir} ${filename} </dev/null && dvips -o ${file}.ps ${file}.dvi
- texi2pdf -I ${includedir} ${filename} </dev/null
+ texi2dvi -I ${includedir} -o ${file}.dvi ${filename} </dev/null && dvips -o ${file}.ps ${file}.dvi
+ texi2pdf -I ${includedir} -o ${file}.pdf ${filename} </dev/null
mkdir -p $DOCSDIR/$file
fi
done
done
fi
-# Copy the resulting files to the web server.
+# And copy the resulting files to the web server
for file in */*.html *.ps *.pdf *.tar; do
if [ -f $DOCSDIR/$file ]; then
cat $DOCSDIR/$file |
cd $DOCSDIR
-# And generate version-specific installation documentation.
-SOURCEDIR=$WORKDIR/gcc/gcc/doc
-DESTDIR=$DOCSDOR/install
-export SOURCEDIR
-export DESTDIR
-$WORKDIR/gcc/gcc/doc/install.texi2html
-
-# Finally, generate the primary installation documentation.
+# Finally, generate the installation documentation
if [ "$RELEASE" = "trunk" ]; then
SOURCEDIR=$WORKDIR/gcc/gcc/doc
DESTDIR=$WWWBASE_PREFORMATTED/install
export SOURCEDIR
export DESTDIR
$WORKDIR/gcc/gcc/doc/install.texi2html
-fi
-# Preprocess the entire web site, not just the install docs!
-echo "Invoking $WWWPREPROCESS"
-$WWWPREPROCESS | grep -v '^ Warning: Keeping'
+ # Preprocess the entire web site, not just the install docs!
+ echo "Invoking $WWWPREPROCESS"
+ $WWWPREPROCESS |grep -v '^ Warning: Keeping'
+fi
# Clean up behind us.