summaryrefslogtreecommitdiff
path: root/doc/gnulib-tool.texi
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* Add --pull, --gen options to build-aux/bootstrapPaul Eggert2022-12-271-5/+8
| | | | | | | | | This supports a single bootstrap script with --pull and --gen options, as an alternative to separate autogen.sh and autopull.sh and bootstrap-funclib.sh auxiliary files. * top/bootstrap: With --version, also output library version. Support update of package that has only the bootstrap script, and not the other three files.
* doc: Update regarding bootstrap split.Bruno Haible2022-07-311-15/+52
| | | | | | | | | | | Reported by Paul Smith <psmith@gnu.org>. * doc/gnulib-tool.texi (gettextize and autopoint): Mention autogen.sh instead of bootstrap. (VCS Issues): Describe three alternative approaches. * doc/gnulib.texi (Developer tools): Mention also autopull.sh and autogen.sh. * top/bootstrap (usage): Fix copy&paste mistake.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* Accommodate non-recursive Automake in a less hacky way.Bruno Haible2021-12-151-0/+45
| | | | | | | | | | | | | | | | | | | | | * gnulib-tool: New option --automake-subdir. (automake_subdir): New variable. (func_emit_initmacro_end): Add a second argument. Use it to prefix each object file name in *_LIBOBJS and *_LTLIBOBJS. (func_emit_shellvars_init): New function. (func_import): Add support for --automake-subdir. Invoke prefix-gnulib-mk. Update calls to func_emit_initmacro_end. Call func_emit_shellvars_init. (func_create_testdir): Update calls to func_emit_initmacro_end. Call func_emit_shellvars_init. * m4/gnulib-tool.m4 (gl_AUTOMAKE_SUBDIR): New macro. * m4/gnulib-common.m4 (gl_CONDITIONAL_HEADER): Use the value of the gl_source_base_prefix variable. * build-aux/prefix-gnulib-mk: New options --from-gnulib-tool, --prefix. (contents_of_file): Renamed from contents. (contents_of_stdin): New function. (process): Inline and remove function. * doc/gnulib-tool.texi (Non-recursive make): New section.
* doc: Improve help related to bootstrap script.Simon Josefsson2021-09-041-17/+26
| | | | | | | * doc/gnulib-tool.texi (VCS Issues): Make title more positive, s/Issues/Integration/. Some more bootstrap-related hints, including changing suggested submodule path from .gnulib to gnulib as this seems to be more wide-spread.
* gnulib-tool: port better to current AutoconfPaul Eggert2021-04-261-11/+0
| | | | | | | * doc/gnulib-tool.texi (Initial import): Don’t mention AC_PROG_CC_STDC as it’s deprecated in current Autoconf. * gnulib-tool (func_done_dir): Suggest replacing AC_PROG_CC_STDC and AC_PROG_CC_C99, as per current Autoconf.
* doc: Fix confusion between LIBADD and LDADD.Bruno Haible2021-04-121-1/+1
| | | | | | | | Reported by Reuben Thomas <rrt@sc3d.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2021-04/msg00102.html>. * doc/gnulib-tool.texi (Multiple instances): For programs, use LDADD, not LIBADD.
* Use https:// instead of git://.Simon Josefsson2021-01-101-1/+1
| | | | | | | | * build-aux/bootstrap (default_gnulib_url): Ditto. * config/srclistvars.sh: Ditto. * doc/gnulib-readme.texi (Git Checkout): Ditto. * doc/gnulib-tool.texi (VCS Issues): Ditto. * top/gitsub.sh: Update link.
* doc: Repeat warning that --with-tests cannot be used twice.Simon Josefsson2021-01-041-0/+3
| | | | | * doc/gnulib-tool.texi (Multiple instances): Remind reader of --with-tests limitation.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* doc: Change '.' to '@.' where appropriate.Asher Gordon2020-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/c-ctype.texi: Change '.' to '@.' where appropriate. * doc/glibc-functions/fstatfs.texi: Likewise. * doc/glibc-functions/fts_children.texi: Likewise. * doc/glibc-functions/fts_read.texi: Likewise. * doc/glibc-functions/getdirentries.texi: Likewise. * doc/glibc-functions/mkostemp.texi: Likewise. * doc/glibc-functions/mkostemps.texi: Likewise. * doc/glibc-functions/mkstemps.texi: Likewise. * doc/glibc-functions/preadv.texi: Likewise. * doc/glibc-functions/pwritev.texi: Likewise. * doc/glibc-functions/sendfile.texi: Likewise. * doc/glibc-functions/statfs.texi: Likewise. * doc/gnulib-intro.texi: Likewise. * doc/gnulib-tool.texi: Likewise. * doc/intprops.texi: Likewise. * doc/lib-symbol-visibility.texi: Likewise. * doc/licenses-texi.texi: Likewise. * doc/pastposix-functions/bcmp.texi: Likewise. * doc/pastposix-functions/bcopy.texi: Likewise. * doc/pastposix-functions/bzero.texi: Likewise. * doc/pastposix-functions/ecvt.texi: Likewise. * doc/pastposix-functions/fcvt.texi: Likewise. * doc/pastposix-functions/ftime.texi: Likewise. * doc/pastposix-functions/gcvt.texi: Likewise. * doc/pastposix-functions/getwd.texi: Likewise. * doc/pastposix-functions/index.texi: Likewise. * doc/pastposix-functions/mktemp.texi: Likewise. * doc/pastposix-functions/rindex.texi: Likewise. * doc/pastposix-functions/wcswcs.texi: Likewise. * doc/posix-functions/aio_cancel.texi: Likewise. * doc/posix-functions/aio_error.texi: Likewise. * doc/posix-functions/aio_fsync.texi: Likewise. * doc/posix-functions/aio_read.texi: Likewise. * doc/posix-functions/aio_return.texi: Likewise. * doc/posix-functions/aio_suspend.texi: Likewise. * doc/posix-functions/aio_write.texi: Likewise. * doc/posix-functions/creat.texi: Likewise. * doc/posix-functions/ctime.texi: Likewise. * doc/posix-functions/daylight.texi: Likewise. * doc/posix-functions/fgetpos.texi: Likewise. * doc/posix-functions/fopen.texi: Likewise. * doc/posix-functions/freopen.texi: Likewise. * doc/posix-functions/fseeko.texi: Likewise. * doc/posix-functions/fsetpos.texi: Likewise. * doc/posix-functions/fstatat.texi: Likewise. * doc/posix-functions/fstatvfs.texi: Likewise. * doc/posix-functions/ftello.texi: Likewise. * doc/posix-functions/ftruncate.texi: Likewise. * doc/posix-functions/getrlimit.texi: Likewise. * doc/posix-functions/lio_listio.texi: Likewise. * doc/posix-functions/localtime.texi: Likewise. * doc/posix-functions/lseek.texi: Likewise. * doc/posix-functions/mkstemp.texi: Likewise. * doc/posix-functions/mktime.texi: Likewise. * doc/posix-functions/open.texi: Likewise. * doc/posix-functions/openat.texi: Likewise. * doc/posix-functions/opendir.texi: Likewise. * doc/posix-functions/pread.texi: Likewise. * doc/posix-functions/pwrite.texi: Likewise. * doc/posix-functions/readdir.texi: Likewise. * doc/posix-functions/readdir_r.texi: Likewise. * doc/posix-functions/scandir.texi: Likewise. * doc/posix-functions/seekdir.texi: Likewise. * doc/posix-functions/setrlimit.texi: Likewise. * doc/posix-functions/statvfs.texi: Likewise. * doc/posix-functions/strftime.texi: Likewise. * doc/posix-functions/telldir.texi: Likewise. * doc/posix-functions/timezone.texi: Likewise. * doc/posix-functions/tmpfile.texi: Likewise. * doc/posix-functions/truncate.texi: Likewise. * doc/posix-functions/tzname.texi: Likewise. * doc/posix-functions/wcsftime.texi: Likewise. * doc/windows-sockets.texi: Likewise.
* doc: Update license notices.Bruno Haible2020-01-181-3/+2
| | | | | * doc/*.texi: Reference the GFDL 1.3 through a URL, rather than by reference to a section or to a "file as part of this distribution".
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* gnulib-tool: New option --extract-recursive-link-directive.Bruno Haible2019-01-041-0/+38
| | | | | | | | | | | * gnulib-tool (func_usage): Document the new options --extract-recursive-dependencies, --extract-recursive-link-directive. (func_verify_module): Document output variables. (func_get_dependencies_recursively): New function. (func_get_link_directive_recursively): New function. Use them to implement the new options --extract-recursive-dependencies, --extract-recursive-link-directive. * doc/gnulib-tool.texi (Link-time requirements): New section.
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* New module 'posixcheck'.Bruno Haible2018-08-051-1/+48
| | | | | | | * modules/posixcheck: New file. * m4/posixcheck.m4: New file. * doc/gnulib-tool.texi (Finding POSIX substitutes): New section. (Which modules?): Reference it.
* doc: Mention another prerequisite for using Gnulib.Bruno Haible2018-01-231-0/+8
| | | | | | | Reported at <https://stackoverflow.com/questions/48378214/>. * doc/gnulib-tool.texi (Initial import): Mention requirement to use AC_CONFIG_HEADERS.
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* doc: New section "Modifying the build rules of a Gnulib import directory".Bruno Haible2017-12-101-0/+69
| | | | * doc/gnulib-tool.texi (Modified build rules): New node.
* doc: Tweak wording.Bruno Haible2017-12-101-7/+8
| | | | | * doc/gnulib-tool.texi (Multiple instances): Talk about "programs", not "binaries".
* doc: Prefer https URLs where possible.Bruno Haible2017-09-131-3/+3
| | | | | * doc/**/*.texi: Use https URLs instead of http URLs where possible. * doc/ld-output-def.texi: Remove unavailable URL.
* Target a C99 subset, not a C89 subsetPaul Eggert2017-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | For many years Gnulib has targeted C89 and has resisted using C99 features, as some Gnulib-using programs still wanted to target C89. As this no longer seems to be the case, relax the porting requirements to allow some C99 features. This is merely a change to the documentation, to give other Gnulib developers a chance to weigh in on the topic. * doc/extern-inline.texi (extern inline): * doc/gnulib-readme.texi (Portability guidelines): * doc/gnulib-tool.texi (Initial import): * doc/gnulib.texi (Header files): Modernize to talk about C99 and C11 instead of C89 and C99. * doc/gnulib-readme.texi (Portability guidelines): Now a section, not merely a subsection, so that it can be split up. Modernize a bit. (C language versions, C99 features assumed) (C99 features avoided): New sections.
* gnulib-tool: new option --gnu-makePaul Eggert2017-03-121-11/+13
| | | | | | | | | | | | This is for applications like GNU Emacs that use GNU Make features instead of Automake. * doc/gnulib-tool.texi (Initial import): Mention --gnu-make. * doc/gnulib.texi (Unit test modules, Build robot for gnulib): Do not assume Automake. * gnulib-tool (func_determine_path_separator) (func_modules_transitive_closure, func_update_file) (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am) (func_import): Add support for --gnu-make.
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* version-etc: new yearPaul Eggert2016-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* doc: Describe to use multiple instances of gnulibChristian Egli2015-09-081-0/+109
| | | | | | * doc/gnulib-tool.texi: Add a section to the manual outlining how two instances of gnulib with different modules can be used, for example one for a lib and another one for associated tools.
* doc: update FDL template to match FDL examples.Simon Josefsson2015-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * doc/alloca-opt.texi: * doc/alloca.texi: * doc/c-ctype.texi: * doc/c-strcase.texi: * doc/c-strcaseeq.texi: * doc/c-strcasestr.texi: * doc/c-strstr.texi: * doc/c-strtod.texi: * doc/c-strtold.texi: * doc/ctime.texi: * doc/error.texi: * doc/gcd.texi: * doc/gnulib-tool.texi: * doc/inet_ntoa.texi: * doc/intprops.texi: * doc/lib-symbol-visibility.texi: * doc/maintain.texi: * doc/parse-datetime.texi: * doc/quote.texi: * doc/regexprops-generic.texi: * doc/standards.texi: Remove spurious 'with' in FDL license template.
* version-etc: new yearPaul Eggert2014-12-311-1/+1
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* maint: update copyrightEric Blake2014-01-011-1/+1
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* Assume gnulib is checked out from Git, not CVSStefano Lattarini2013-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In fact, access to the gnulib repository through CVS has been disabled, or more precisely, got broken and was never restored; see: <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00008.html> Note that support for CVS is not removed completely and unthinkingly by this change: only support for CVS checkouts of gnulib itself is removed. For example, the 'bootstrap' script still cater to .cvsingore files and CVS directories, for the benefit of those poor gnulib clients still stuck with CVS. Ditto for the 'gnulib-tool' script itself. * gnulib-tool: Simplify accordingly. * posix-modules: Likewise. * MODULES.html.sh: Likewise. * doc/gnulib.texi: No longer mention the decommissioned CVS gnulib repository. * doc/gnulib-intro.texi: Likewise. * doc/gnulib-readme.texi: Likewise. * doc/gnulib-tool.texi: In the examples and explanations, refer to a sample '.gitignore' file rather than a sample '.cvsignore'. * NEWS: Update. * m4/extensions.m4: While at it, remove a comment mistakenly referring to "CVS Autoconf" rather than "git Autoconf". Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Acked-by: Paul Eggert <eggert@cs.ucla.edu>
* maint: update all copyright year number rangesEric Blake2013-01-011-1/+1
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* Hyphen and dash fixes.Paul Eggert2012-12-271-3/+3
|
* doc: recommendations on gettext versionEric Blake2012-05-081-5/+34
| | | | | | | | | | Based on the bootstrap fallout in commit bb2f5640. * doc/gnulib-tool.texi (gettextize and autopoint): Document the choice between versions. * DEPENDENCIES (gettext): Cover both approaches. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* doc: Improve doc about gl_EARLY.Bruno Haible2011-09-291-0/+11
| | | | | | * doc/gnulib-tool.texi (Initial import): Mention where to place an AC_PROG_CC_STDC invocation. Reported by Gary V. Vaughan <gary@vaughan.pe>.
* Finish the conditional dependencies mechanism.Bruno Haible2011-05-281-0/+52
| | | | | | | | | | * gnulib-tool: New option --no-conditional-dependencies. (func_usage): Document it. Don't mark --conditional-dependencies as experimental. (cond_dependencies): The possible values can now be true, false, empty. (func_modules_transitive_closure, func_emit_autoconf_snippets): Update. (func_import): Store setting in gnulib-cache.m4 and read it from there. * doc/gnulib-tool.texi (Conditional dependencies): New section.
* maint: change "can not" to "cannot"Jim Meyering2011-04-091-1/+1
| | | | | | | | | But do not change the occurrences in maintain.texi or in build-aux/po/Makefile.in.in, which I presume comes from gettext. * doc/gnulib-tool.texi: s/can not/cannot/ * doc/posix-functions/accept.texi (accept): Likewise. * doc/posix-functions/socket.texi (socket): Likewise. * lib/mbrtowc.c: Likewise.
* doc: Improve doc regarding autopoint vs. gnulib.Bruno Haible2011-03-051-0/+8
| | | | | | * doc/gnulib-tool.texi (gettextize and autopoint): Recommend to disable autopoint while running autoreconf. Suggested by Ralf Wildenhues.
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-011-1/+1
| | | | Run the new "make update-copyright" rule.
* doc tweaksKarl Berry2010-09-061-2/+2
|
* Update doc about gnulib-tool.Bruno Haible2010-09-041-9/+23
| | | | | | * doc/gnulib-tool.texi (VCS Issues): Explain 'gnulib-tool --import' vs. 'gnulib-tool --update' in more detail. Reported by Eric Blake.
* gnulib-tool: Change --import. New options --add/remove-import.Bruno Haible2010-09-041-19/+38
| | | | | | | | | | | | * gnulib-tool: New options --add-import, --remove-import. (func_usage): Document them. (have_associative): Define always. (func_import): In import mode, don't merge the specified settings with the cached settings. Implement remove-import mode. * doc/gnulib-tool.texi (Modified imports): Mention the new options. Explain when to use them versus --import. (Simple update): Use --add-import instead of --import. * NEWS: Mention the change.
* Doc update.Bruno Haible2010-09-041-5/+5
|
* gnulib-tool.texi: mention possibility of git submoduleEric Blake2010-03-081-1/+34
| | | | | | | | * doc/gnulib-tool.texi (VCS Issues): Add details about using git submodules. * doc/.gitignore: Ignore another generated file. Signed-off-by: Eric Blake <eblake@redhat.com>
* describe third option of committing gnulib files while skipping othersKarl Berry2010-03-081-22/+40
|
* Doc clarification.Bruno Haible2010-03-011-2/+8
|
* Make it easier to find modules. New gnulib-tool option '--find'.Bruno Haible2010-02-191-0/+27
|
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+1
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* Document how gnulib-tool can be put into PATH.Bruno Haible2009-04-021-1/+12
|