* Tassilo Horn (2013-01-13) writes:

> "[email protected]" <[email protected]> writes:
>
>> https://www.gnu.org/software/auctex/manual/auctex/ still gives AUCTeX 11.86 
>> manual :-)
>
> Ralf, could you please have a look or explain me how to update the
> online docs?

I've just made the update.  Attached is an updated patch for gendocs.sh
which is used by the www-doc target in the Makefile.

-- 
Ralf
--- gendocs.sh~	2013-01-13 22:15:25.000000000 +0100
+++ gendocs.sh	2013-01-13 22:19:30.000000000 +0100
@@ -295,9 +295,9 @@
     tar -czf "$abs_outdir/${PACKAGE}.html_$1.tar.gz" -- *.html
   )
   eval html_$1_tgz_size=`calcsize "$outdir/${PACKAGE}.html_$1.tar.gz"`
-  rm -f "$outdir"/html_$1/*.html
-  mkdir -p "$outdir/html_$1/"
-  mv ${split_html_dir}/*.html "$outdir/html_$1/"
+  rm -f "$outdir"/${PACKAGE}/*.html
+  mkdir -p "$outdir/${PACKAGE}/"
+  mv ${split_html_dir}/*.html "$outdir/${PACKAGE}/"
   rmdir ${split_html_dir}
 }
 
@@ -338,8 +338,8 @@
   mv $PACKAGE.html "$outdir/"
 
   html_split node
-  html_split chapter
-  html_split section
+#   html_split chapter
+#   html_split section
 fi
 
 echo Making .tar.gz for sources...
@@ -390,12 +390,12 @@
 fi
 
 echo "Writing index file..."
-if test -z "$use_texi2html"; then
+# if test -z "$use_texi2html"; then
    CONDS="/%%IF  *HTML_SECTION%%/,/%%ENDIF  *HTML_SECTION%%/d;\
           /%%IF  *HTML_CHAPTER%%/,/%%ENDIF  *HTML_CHAPTER%%/d"
-else
-   CONDS="/%%ENDIF.*%%/d;/%%IF  *HTML_SECTION%%/d;/%%IF  *HTML_CHAPTER%%/d"
-fi
+# else
+#    CONDS="/%%ENDIF.*%%/d;/%%IF  *HTML_SECTION%%/d;/%%IF  *HTML_CHAPTER%%/d"
+# fi
 
 curdate=`$SETLANG date '+%B %d, %Y'`
 sed \
@@ -422,7 +422,7 @@
    -e "s,%%SCRIPTURL%%,$scripturl,g" \
    -e "s!%%SCRIPTNAME%%!$prog!g" \
    -e "$CONDS" \
-$GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/index.html"
+$GENDOCS_TEMPLATE_DIR/gendocs_template >"$outdir/${PACKAGE}.index.html"
 
 echo "Done, see $outdir/ subdirectory for new files."
 
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to