--- gendocs.sh~ 2010-02-27 15:20:15.000000000 +0100 +++ gendocs.sh 2010-02-27 15:14:54.000000000 +0100 @@ -227,9 +227,9 @@ tar -czf $dotdot_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} } @@ -268,8 +268,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... @@ -322,12 +322,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 \ -e "s!%%TITLE%%!$MANUAL_TITLE!g" \ @@ -355,7 +355,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."