update_web_docs_svn (CSS): Introduce.
authorGerald Pfeifer <gerald@pfeifer.com>
Sun, 4 Sep 2016 18:44:30 +0000 (18:44 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sun, 4 Sep 2016 18:44:30 +0000 (18:44 +0000)
* update_web_docs_svn (CSS): Introduce.
Have generated files refer to it.

From-SVN: r239980

maintainer-scripts/ChangeLog
maintainer-scripts/update_web_docs_svn

index efbba22f2df72f689172d7e5c34d913aaaeaba87..6c8b050b5d09274b6404e78d443d106034e24635 100644 (file)
@@ -1,3 +1,8 @@
+2016-09-04  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * update_web_docs_svn (CSS): Introduce.
+       Have generated files refer to it.
+
 2016-08-17  Martin Liska  <mliska@suse.cz>
 
        * branch_changer.py: Describe the script. Add sample usage
index 46e34d10fe4c86b93ee4ffaada82b6e855c9577e..0107851dcdd60e172b5310632fcdc76839b3d561 100755 (executable)
@@ -28,6 +28,8 @@ MANUALS="cpp
   libiberty
   porting"
 
+CSS=/gcc.css
+
 WWWBASE=/www/gcc/htdocs
 WWWBASE_PREFORMATTED=/www/gcc/htdocs-preformatted
 WWWPREPROCESS='/www/gcc/bin/preprocess -r'
@@ -156,7 +158,7 @@ for file in $MANUALS; do
     if [ "$file" = "gnat_ugn" ]; then
       includes="$includes -I gcc/gcc/ada -I gcc/gcc/ada/doc/gnat_ugn"
     fi
-    makeinfo --html $includes -o ${file} ${filename}
+    makeinfo --html --css-ref $CSS $includes -o ${file} ${filename}
     tar cf ${file}-html.tar ${file}/*.html
     texi2dvi $includes -o ${file}.dvi ${filename} </dev/null >/dev/null && dvips -o ${file}.ps ${file}.dvi
     texi2pdf $includes -o ${file}.pdf ${filename} </dev/null