Help with updating web manual.

* HACKING: Incorporate instructions from gnulib/doc/README.
* bootstrap.conf (gnulib_modules): Add gendocs.
This commit is contained in:
Joel E. Denny
2009-04-03 18:32:02 -04:00
parent 86cfae0a48
commit 1c93f35bfa
7 changed files with 60 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
2009-04-03 Joel E. Denny <jdenny@ces.clemson.edu>
Help with updating web manual.
* HACKING: Incorporate instructions from gnulib/doc/README.
* bootstrap.conf (gnulib_modules): Add gendocs.
2009-04-03 Akim Demaille <demaille@gostai.com> 2009-04-03 Akim Demaille <demaille@gostai.com>
Regen. Regen.

41
HACKING
View File

@@ -283,6 +283,47 @@ Here's a brief reminder of how to roll the tarballs and upload them:
*** put bison-2.3b.tar.gz.directive.asc *** put bison-2.3b.tar.gz.directive.asc
*** Repeat all these steps for bison-2.3b.tar.bz2. *** Repeat all these steps for bison-2.3b.tar.bz2.
** Update Bison manual on www.gnu.org.
*** You need a non-anonymous checkout of the web pages directory.
$ cvs -d YOUR_USERID@cvs.savannah.gnu.org:/web/bison checkout bison
*** Get familiar with the instructions for web page maintainers.
http://www.gnu.org/server/standards/readme_index.html
http://www.gnu.org/server/standards/README.software.html
especially the note about symlinks.
*** Build the web pages.
Assuming BISON_CHECKOUT refers to a checkout of the Bison dir, and
BISON_WWW_CHECKOUT refers to the web directory created above, do:
$ cd $BISON_CHECKOUT/doc
$ make stamp-vti
$ ../build-aux/gendocs.sh -o "$BISON_WWW_CHECKOUT/manual" \
bison "Bison - GNU parser generator"
$ cd $BISON_WWW_CHECKOUT
Verify that the result looks sane.
*** Commit the modified and the new files.
*** Remove old files.
Find the files which have not been overwritten (because they belonged to
sections that have been removed or renamed):
$ cd manual/html_node
$ ls -lt
Remove these files and commit their removal to CVS. For each of these
files, add a line to the file .symlinks. This will ensure that
hyperlinks to the removed files will redirect to the entire manual; this
is better than a 404 error.
There is a problem with 'index.html' being written twice (once for POSIX
function 'index', once for the table of contents); you can ignore this
issue.
** Announce ** Announce
To generate a template announcement file: To generate a template announcement file:

View File

@@ -1,6 +1,6 @@
# Bootstrap configuration. # Bootstrap configuration.
# Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. # Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -17,12 +17,12 @@
# gnulib modules used by this package. # gnulib modules used by this package.
gnulib_modules=' gnulib_modules='
announce-gen argmatch config-h c-strcase configmake announce-gen argmatch config-h c-strcase configmake dirname error
dirname error extensions fopen-safer getopt gettext git-version-gen extensions fopen-safer gendocs getopt gettext git-version-gen
gnumakefile hash inttypes javacomp-script javaexec-script malloc gnumakefile hash inttypes javacomp-script javaexec-script malloc
mbswidth obstack quote quotearg stdbool stpcpy strerror strtoul mbswidth obstack quote quotearg stdbool stpcpy strerror strtoul
strverscmp unistd unistd-safer unlocked-io unsetenv verify strverscmp unistd unistd-safer unlocked-io unsetenv verify warnings
warnings xalloc xalloc-die xstrndup xalloc xalloc-die xstrndup
' '
# Additional xgettext options to use. Use "\\\newline" to break lines. # Additional xgettext options to use. Use "\\\newline" to break lines.

View File

@@ -4,6 +4,7 @@ config.guess
config.rpath config.rpath
config.sub config.sub
depcomp depcomp
gendocs.sh
git-version-gen git-version-gen
install-sh install-sh
javacomp.sh.in javacomp.sh.in

View File

@@ -4,6 +4,7 @@
/config.rpath /config.rpath
/config.sub /config.sub
/depcomp /depcomp
/gendocs.sh
/git-version-gen /git-version-gen
/install-sh /install-sh
/javacomp.sh.in /javacomp.sh.in

View File

@@ -1,3 +1,4 @@
*.info*
bison.1 bison.1
bison.aux bison.aux
bison.cp bison.cp
@@ -14,10 +15,10 @@ bison.toc
bison.tp bison.tp
bison.vr bison.vr
cross-options.texi cross-options.texi
gendocs_template
refcard.dvi refcard.dvi
refcard.log refcard.log
refcard.ps refcard.ps
*.info*
stamp-vti stamp-vti
version.texi version.texi
yacc.1 yacc.1

3
doc/.gitignore vendored
View File

@@ -1,3 +1,4 @@
/*.info*
/bison.1 /bison.1
/bison.aux /bison.aux
/bison.cp /bison.cp
@@ -14,10 +15,10 @@
/bison.tp /bison.tp
/bison.vr /bison.vr
/cross-options.texi /cross-options.texi
/gendocs_template
/refcard.dvi /refcard.dvi
/refcard.log /refcard.log
/refcard.ps /refcard.ps
/*.info*
/stamp-vti /stamp-vti
/version.texi /version.texi
/yacc.1 /yacc.1