Hash :
490c345b
Author :
Date :
2018-08-07T10:43:06
glob-h: New module. * lib/glob.in.h: Use nearly the usual gnulib idioms for header file replacements. * lib/glob.c: Include <config.h>. * m4/glob_h.m4: New file. * m4/glob.m4 (gl_GLOB): Require gl_GLOB_H. Remove code that is moved to glob_h.m4. Set HAVE_GLOB, REPLACE_GLOB, HAVE_GLOB_PATTERN_P, REPLACE_GLOB_PATTERN_P as appropriate. (gl_PREREQ_GLOB): Don't require AC_C_RESTRICT and AC_USE_SYSTEM_EXTENSIONS, now done through module 'glob-h'. * modules/glob-h: New file. * modules/glob (Files): Remove lib/glob.in.h, lib/glob-libc.h. (Dependencies): Add glob-h. Remove extensions, snippet/*, libc-config, lstat, sys_stat. Change conditions. (configure.ac): Test HAVE_GLOB, REPLACE_GLOB, HAVE_GLOB_PATTERN_P, REPLACE_GLOB_PATTERN_P. Set module indicator. (Makefile.am): Remove code that is moved to glob-h. * doc/posix-headers/glob.texi: Mention the 'glob-h' module. * modules/posixcheck (Depends-on): Add glob-h.
Misc notes
----------
regexprops-generic.texi is generated via a utility in findutils.
How to update gnulib manual on www.gnu.org
------------------------------------------
1) You need a non-anonymous checkout of the web pages directory.
$ cvs -d :ext:jas@cvs.savannah.gnu.org:/web/gnulib \
checkout gnulib
2) Get familiar with the instructions for web page maintainers.
https://www.gnu.org/server/standards/readme_index.html
https://www.gnu.org/server/standards/README.software.html
especially the note about symlinks.
3) Assuming GNULIB_CHECKOUT refers to a checkout of the gnulib dir,
and GNULIB_WWW_CHECKOUT refers to the other directory created above (1),
do
GNULIB_WWW_CHECKOUT=`cd $GNULIB_WWW_CHECKOUT && pwd`
cd $GNULIB_WWW_CHECKOUT
tar -cf html-CVS.tar manual/html_node/CVS manual/html_node/.symlinks
cd $GNULIB_CHECKOUT/doc
make updated-stamp
../build-aux/gendocs.sh \
-I ../build-aux \
--email bug-gnulib@gnu.org \
-o "$GNULIB_WWW_CHECKOUT/manual" \
gnulib "The GNU Portability Library"
cd $GNULIB_WWW_CHECKOUT
tar -xf html-CVS.tar
rm html-CVS.tar
Run 'cvs diff -u' and verify that the output looks sane.
4) Commit the modified and the new files.
5) 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.