top


Log

Author Commit Date CI Message
Simon Josefsson 7eb21c68 2024-11-25T16:37:31 bootstrap: avoid sc_prohibit_undesirable_word_seq failure * top/bootstrap-funclib.sh: s/can not/cannot/
Bruno Haible 59bf378a 2024-11-13T01:25:26 bootstrap: Tweak GNULIB_REFDIR related changes. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Improve if/else structure and comments. When cloning GNULIB_REFDIR and no submodule 'gnulib' is configured, switch to the default branch. * top/bootstrap (usage): Update documentation. * build-aux/bootstrap: Regenerated.
Paul Eggert fd902a8e 2024-11-12T13:13:47 bootstrap: avoid "cd" * top/bootstrap-funclib.sh: Avoid "cd". This saves a few subprocesses and is more likely to yield diagnostics that make sense to the user. * build-aux/bootstrap: Regenerate.
Paul Eggert b855d810 2024-11-12T13:00:10 bootstrap: go back to old non-submodule semantics * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): When cloning GNULIB_REFDIR and no submodule 'gnulib' is configured, set the origin’s URL to $gnulib_url and fetch from remote, so that GNULIB_REFDIR is merely an accelerant rather than having different semantics. * build-aux/bootstrap: Regenerate.
Paul Eggert 935bbcb2 2024-11-12T09:28:55 bootstrap: tune Octave bootstrap --gnulib-refdir * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Use GNULIB_REFDIR also when a submodule 'gnulib' is not configured. This greatly speeds up bootstrapping Octave when using ‘./bootstrap --gnulib-refdir=...’. * build-aux/bootstrap: Regenerate.
Simon Josefsson 086c5c1c 2024-09-03T20:40:51 syntax-check: Catch all FSF postal addresses. * top/maint.mk (sc_franklin_street): Rename to sc_fsf_postal, improve regexp.
Simon Josefsson 0a6cc3f2 2024-09-02T12:46:38 syntax-check: Catch obsolete Franklin Street usages. * top/maint.mk (sc_franklin_street): New function.
Bruno Haible 662fd337 2024-08-19T13:46:02 mntent: New module. * lib/mntent.in.h: New file. * m4/mntent_h.m4: New file. * modules/mntent: New file. * doc/glibc-headers/mntent.texi: Mention the new module. * top/maint.mk (gl_prefer_angle_bracket_headers_): Add mntent.h. * doc/gnulib-tool.texi (Style of #include statements): Add mntent.h to the list.
Bruno Haible e934b66f 2024-08-16T22:07:19 gitsub.sh: For a submodule, merge from the right remote branch. Reported by Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com> at <https://lists.gnu.org/archive/html/bug-gnulib/2024-08/msg00101.html>. * top/gitsub.sh (func_upgrade): For a submodule, use 'git branch' to determine the branch to merge from, instead of assuming that it is always the 'master' branch.
Collin Funk 6e8d090d 2024-07-27T12:16:37 maintainer-makefile: Fix yesterdays #include <...> change. * top/maint.mk (gl_prefer_angle_bracket_headers_): Remove files that don't include #include_next. Sort using the C locale.
Collin Funk a46019c4 2024-07-26T21:30:56 maintainer-makefile: Update list of headers to use #include <...>. * top/maint.mk (gl_prefer_angle_bracket_headers_): Add missing headers from lib/*.in.h. Re-sort list.
Bruno Haible f3967bd9 2024-07-21T14:02:58 bootstrap: Avoid failure when gnulib-tool removed gettext.m4. * top/bootstrap-funclib.sh (autogen): When gnulib-tool has removed gettext.m4 but the package needs gettext.m4, repeat the autopoint and gnulib-tool invocations. * build-aux/bootstrap: Regenerated.
Collin Funk 71dd87c3 2024-07-04T04:04:11 Make time-stamp after-save-hooks buffer-local. * build-aux/announce-gen: Pass optional arguments to 'add-hook'. * build-aux/bootstrap: Likewise. * build-aux/do-release-commit-and-tag: Likewise. * build-aux/gendocs.sh: Likewise. * build-aux/git-version-gen: Likewise. * build-aux/gitlog-to-changelog: Likewise. * build-aux/gnu-web-doc-update: Likewise. * build-aux/gnupload: Likewise. * build-aux/move-if-change: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise. * build-aux/useless-if-before-free: Likewise. * build-aux/vc-list-files: Likewise. * top/bootstrap: Likewise. * top/bootstrap-funclib.sh: Likewise.
Jim Meyering 24651c48 2024-07-03T23:07:16 maintainer-makefile: derive VERSION from RELEASE only from command line * top/maint.mk (VERSION, RELEASE_TYPE): Do not let an environment- specified RELEASE influence the VERSION and RELEASE_TYPE variables. Reported by Simon Josefsson in https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00021.html
Bruno Haible bd2252fb 2024-06-30T01:57:51 bootstrap-funclib.sh: Restore readability. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Add a line break instead of removing spaces. * build-aux/bootstrap: Regenerated.
Jim Meyering 490c8802 2024-06-29T15:08:19 bootstrap-funclib.sh: shrink or split too-long lines * top/bootstrap-funclib.sh: The generated bootstrap file had lines lines that triggered a syntax-check failure. Sure, I could have exempted this file, but it was easy to comply. Besides, this also fixed a quoting bug in the event that ${GNULIB_URL:-$default_gnulib_url} had a value requiring double quotes. * build-aux/bootstrap: Regenerate.
Paul Eggert 8991f4f3 2024-06-11T10:16:37 maint: avoid duplicate tight-scope work * top/maint.mk (_gl_tight_scope): Sort $(SOURCES), to remove duplicates and thereby avoid unnecessary work. Found when testing this on GNU diffutils.
Collin Funk ad617310 2024-05-27T21:35:43 maint.mk: Update system header list for #include syntax checks. * top/maint.mk (gl_prefer_angle_bracket_headers_): Add byteswap.h, endian.h, and stdbit.h.
Simon Josefsson 0c52a761 2024-05-12T17:07:30 maintainer-makefile: Silence announce-gen error with GNULIB_REVISION. * top/maint.mk (gnulib-version): Silence git describe on failure.
Simon Josefsson aacceb6e 2024-05-06T15:01:10 maintainer-makefile: Prohibit BSD4.3/SysV u_char etc types. * top/maint.mk (sc_unsigned_char, sc_unsigned_short) (sc_unsigned_int, sc_unsigned_long): Add.
Simon Josefsson 6213c5bd 2024-05-03T08:44:03 maint.mk: Don't fail on ~/.indent.pro, reported by Collin Funk. * top/maint.mk (indent_args): Use --ignore-profile.
Bruno Haible 92d80242 2024-04-28T11:29:27 bootstrap: Support checking out a recent GNULIB_REVISION, part 2. Reported by Markus Mützel <markus.muetzel@gmx.de> in <https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00507.html>. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): If using a submodule and the 'git checkout' command fails, fetch the newer commits and then retry it. * build-aux/bootstrap: Regenerated.
Bruno Haible d81a4871 2024-04-27T19:08:06 bootstrap: Support checking out a recent GNULIB_REVISION. Reported by Markus Mützel <markus.muetzel@gmx.de> in <https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00462.html>. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): If the 'git checkout' command fails, fetch the newer commits and then retry it. * build-aux/bootstrap: Regenerated.
Bruno Haible d84255c1 2024-04-14T01:38:42 bootstrap: Implement phase 1 as documented in the --help output. Reported by Simon Josefsson as bug #1 in <https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00152.html>. * top/bootstrap: Correct indentation. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Implement as documented: If GNULIB_SRCDIR and GNULIB_REVISION are set and there is a 'gnulib' submodule, checkout the revision GNULIB_REVISION. If GNULIB_SRCDIR and GNULIB_REVISION are set and --no-git is specified, don't checkout the revision GNULIB_REVISION.
Bruno Haible ac8c4111 2024-04-14T00:08:50 bootstrap: Simplify git submodule initialization. * top/bootstrap-funclib.sh (prepare_GNULIB_SRCDIR): Err out if git is older than version 1.6.4. Remove fallback code for older versions. * build-aux/bootstrap: Regenerated.
Bruno Haible 98b5e4a9 2024-04-13T17:23:48 bootstrap: Fix --help messages. Reported by Simon Josefsson in <https://lists.gnu.org/archive/html/bug-gnulib/2024-04/msg00162.html>. * top/bootstrap (usage): Fix the description of GNULIB_SRCDIR. Document GNULIB_REFDIR. Use full-sentences style. Tweak wording. * top/bootstrap-funclib.sh (autopull_usage): Clarify the phase. Don't mention nonexistent options --gnulib-srcdir and --gnulib-refdir. Use full-sentences style. (autogen_usage): Clarify the phase. Use full-sentences style. * build-aux/bootstrap: Regenerated.
Collin Funk 723dfe5e 2024-02-20T12:16:40 maint.mk: Fix include header typo. top/maint.mk: Change arpa_inet.h to arpa/inet.h.
Jim Meyering 219052be 2024-02-18T20:23:28 maint.mk: improve new syntax-check rule * top/maint.mk (sc_prefer_angle_bracket_headers): Rename from sc_verify_absolute_include_headers. Simplify to run a single invocation of grep, rather than usually many. Derive a regular expression matching the selected headers, and warn about any offending matches via what is usually a single grep invocation.
Bruno Haible 76ce0307 2024-02-18T21:34:01 maint.mk: Add more comments. * top/maint.mk: Reference the Gnulib documentation where suitable.
Collin Funk 2ebc4624 2024-02-18T12:02:33 maint.mk: Add syntax-check rule to check for #include syntax. * top/maint.mk (sc_verify_absolute_include_headers): New rule to check for #includes that might cause -Winclude-next-absolute-path warnings.
Simon Josefsson 5b92dd0a 2024-01-01T10:31:48 maint: run 'make update-copyright'
Pádraig Brady d1892fd7 2023-12-10T14:46:58 bootstrap: fix option propagation with --bootstrap-sync * top/bootstrap: Ensure options are propagated through upgrade_bootstrap(). * top/bootstrap-funclib.sh: Likewise. * build-aux/bootstrap: Auto generated with `make build-aux/bootstrap`. Fixes https://bugs.gnu.org/67731
Bernhard Voelker 2b63182e 2023-09-24T18:13:50 maintainer-makefile: Fix syntax-check rules wrt README. * top/maint.mk (sc_readme_link_install): Change the value of the variable in_vc_files to contain a pattern for the README file. (sc_readme_link_copying): Likewise. Previously, the above rules always passed, because the generated list of files was empty. Bug introduced when adding the rules in commit 53b4bf3018.
Paul Eggert 0771cac8 2023-09-03T18:14:53 same-inode, stat-size: support pointers too Add functions and macros so that we can test pointers to struct stat as well as plain struct stat. This lets coreutils deal with structs that are only partly initialized, without relying on undefined behavior. * NEWS: Mention this. * doc/posix-headers/sys_stat.texi, doc/stat-size.texi: Mention this and modernize. * lib/at-func2.c (at_func2): * lib/fts.c (same_fd): * lib/rename.c (rpl_rename) [RENAME_HARD_LINK_BUG]: * lib/same-inode.c: New file. * lib/same.c (same_nameat): * lib/term-style-control.c (activate_term_style_controller): Prefer psame_inode (a, b) to SAME_INODE (*a, *b). * lib/hash-triple-simple.c (triple_compare_ino_str): * lib/hash-triple.c (triple_compare): Prefer PSAME_INODE (a, b) to SAME_INODE (*a, *b). psame_inode is not suitable since the args are not struct stat *. * lib/same-inode.h: Check that config.h is included first. (SAME_INODE_INLINE, PSAME_INODE): New macros. (SAME_INODE): Reimplement in terms of PSAME_INODE. (psame_inode): New function. * lib/stat-size.h (STP_BLKSIZE, STP_NBLOCKS): New macros. (ST_BLKSIZE, ST_NBLOCKS): Use them. * lib/term-style-control.c (log_signal_handler_called): Always define as a function, to pacify -Wunused*. * modules/canonicalize-lgpl-tests (Files): Add m4/musl.m4. (Depends-on): Call gl_MUSL_LIBC. * modules/same-inode (Files): Add same-inode.c. (Depends-on): Add extern-inline, stdbool. (lib_SOURCES): New macro. * tests/test-binary-io.c, tests/test-canonicalize-lgpl.c: * tests/test-canonicalize.c, tests/test-cloexec.c: * tests/test-dup-safer.c, tests/test-dup2.c, tests/test-error.c: * tests/test-fcntl.c, tests/test-fdopendir.c, tests/test-fgetc.c: * tests/test-fputc.c, tests/test-fread.c, tests/test-fstat.c: * tests/test-fstatat.c, tests/test-ftruncate.c: * tests/test-fwrite.c, tests/test-getcwd.c: * tests/test-getdtablesize.c, tests/test-isblank.c: * tests/test-linkat.c, tests/test-lock.c, tests/test-lstat.h: * tests/test-malloc-gnu.c, tests/test-openat.c: * tests/test-pthread-thread.c, tests/test-pthread_sigmask1.c: * tests/test-pthread_sigmask2.c, tests/test-ptsname.c: * tests/test-ptsname_r.c, tests/test-raise.c: * tests/test-realloc-gnu.c, tests/test-rwlock1.c: * tests/test-sigprocmask.c, tests/test-snprintf.c: * tests/test-stat.h, tests/test-term-style-control-hello.c: * tests/test-term-style-control-yes.c, tests/test-thread_create.c: * tests/test-unlinkat.c, tests/test-vasnprintf.c: * tests/test-xalloc-die.c: Adjust to these changes, and fix some warnings elicited by -Wall -Wextra that I ran into while testing. * top/maint.mk (sc_prohibit_stat_st_blocks): Mention STP_NBLOCKS.
Bruno Haible 32ac0e00 2023-08-29T23:34:34 bootstrap: Try to prevent the user from setting GNULIB_URL to a wrong value. * top/bootstrap-funclib.sh: Explain GNULIB_URL better. * top/bootstrap: Likewise. * build-aux/bootstrap: Likewise.
Paul Eggert fbdc9a07 2023-08-29T13:06:41 maint: don’t say “clonable” either The spelling is controversial, and the word adds little of use here.
Paul Eggert dd3ba5c1 2023-08-28T12:21:23 spelling fix: cloneable -> clonable * build-aux/bootstrap, top/bootstrap, top/bootstrap-funclib.sh: Spell it “clonable”, the more common English way, instead of “cloneable”, the Java way. Found while doing spelling check of Coreutils.
Paul Eggert 4692a8d8 2023-07-01T11:17:55 Also fix top/bootstrap long lines
Paul Eggert 6e249393 2023-07-01T11:00:16 Fix long bootstrap lines * top/bootstrap-funclib.sh: Reformat to fit into 80 columns, for coreutils ‘make syntax-check’.
Paul Eggert 96ad66ea 2023-07-01T01:38:07 maint.mk: Modernize stddef.h checks for C23 * top/maint.mk (_stddef_syms_re): Modernize for C23.
Paul Eggert 6e12aae8 2023-06-28T18:49:31 fix space-tabs in top/maint.mk * top/maint.mk: Omit space before tab.
Jim Meyering 1bbfe272 2023-06-09T10:15:30 maint.mk: sc_prohibit_xalloc_without_use: also match alloc_die * top/maint.mk (sc_prohibit_xalloc_without_use): Adjust in-comment command's regexp so it also finds alloc_die, whose declaration has a prefix of "_Noreturn" . Also delete some now-obsolete commentary. (_xa1): Regenerate the regexp using that command. Reported by Pádraig Brady in <https://lists.gnu.org/r/bug-gnulib/2023-06/msg00062.html>.
Paul Eggert 295cc7fb 2023-06-08T14:53:51 Spelling fixes Most of these were reported by Josh Soref <jsoref@gmail.com> in: https://lists.gnu.org/r/bug-gnulib/2023-06/msg00057.html except that some are omitted because the original is OK (e.g., "obsolescent"), and some are omitted because they are upstream files and I've fixed them upstream or have filed bug reports, and I made a few nearby corrections to grammar.
Jim Meyering 1496e1fb 2023-06-06T20:49:22 maint.mk: regenerate regex to reflect new functions in xalloc.h * top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]: Regenerate using the command listed in the comment.
Paul Eggert d084ae09 2023-06-06T14:23:39 Put "/" at end of .gitignore directory names * build-aux/bootstrap: Regenerate. * top/bootstrap-funclib.sh (symlink_to_dir, autogen): Put slashes after .gitignore entries that name directories.
Jose E. Marchesi 53b4bf30 2023-06-06T19:35:35 maintainer-makefile: Enforce the GNU Coding Standards in the README. * top/maint.mk (sc_readme_link_install): New rule. (sc_readme_link_copying): Likewise.
Jim Meyering 0e272413 2023-03-09T09:58:35 bootstrap: correct last change * top/bootstrap-funclib.sh (autogen) [AUTORECONFFLAGS]: Do always apply the --no-recursive option. * build-aux/bootstrap: Regenerate. Spotted by Bruno Haible.
Jim Meyering 074cf4b3 2023-03-09T08:41:07 bootstrap: remove code that accommodated RHEL5's old autoreconf * top/bootstrap-funclib.sh (autogen) [AUTORECONFFLAGS]: RHEL5 has not been supported since 2017. It included (and this code worked around) a version of autoreconf that was so old it did not accept the --no-recursive option. Drop that workaround. * build-aux/bootstrap: Regenerate.
Bruno Haible 219e21c7 2023-01-30T02:45:23 maintainer-makefile: Determine gnulib's location on disk correctly. * top/maint.mk (gnulib_dir): Give priority to $(GNULIB_SRCDIR) over $(srcdir)/gnulib.
Paul Eggert 5defd965 2023-01-06T11:20:05 bootstrap: suppress stray message from --pull * build-aux/bootstrap: Regenerate. * top/bootstrap-funclib.sh (autopull): Suggest running autogen.sh only if it exists (i.e., the package is using autopull.sh/autogen.sh). Suggest the same name for autogen.sh that is used in the test.
Simon Josefsson 32a72f45 2023-01-01T01:14:21 maint: run 'make update-copyright'
Paul Eggert 7924f0e7 2022-12-27T08:15:38 Add --pull, --gen options to build-aux/bootstrap 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.
Paul Eggert 816b0d5d 2022-12-27T08:15:38 Support packages with just 'bootstrap' * top/bootstrap: With --version, also output library version. Support update of package that has only the bootstrap script, and not the other three files. * top/bootstrap-funclib.sh (scriptlibversion): Rename from scriptversion. All uses changed. This way we can distinguish script from script library versions. (upgrade_bootstrap): If the package currently has only the bootstrap script, just update that.
Paul Eggert 8319b192 2022-12-27T08:15:37 Bootstrap with functions, not scripts * top/bootstrap: Use autopull and autogen functions, not shell scripts. This lets build-aux/bootstrap become a standalone script. It does not change the behavior of top/bootstrap, except for minor rewording of disagnostics.
Paul Eggert 064ce98a 2022-12-27T08:15:37 Make autopull a shell function too This does not change behavior. It is helpful for future changes. * top/autopull.sh: Call autopull to do the actual work. (usage, download_po_files, update_po_files): Move to top/bootstrap-funclib.sh. * top/bootstrap-funclib.sh (autopull_usage): Rename from ‘usage’. (autopull): New function, containing the top level of the old top/autopull.sh.
Paul Eggert 41ea82c8 2022-12-27T08:15:37 Make autogen a shell function too This does not change behavior. It is helpful for future changes. * top/autogen.sh: Call autogen to do the actual work. (usage, version_controlled_file, gitignore_entries, insert_if_absent): (insert_vc_ignore, symlink_to_dir): Move to top/bootstrap-funclib.sh. * top/bootstrap-funclib.sh (autogen_usage): Rename from ‘usage’. (autogen): New function, containing the top level of the old top/autogen.sh.
Paul Eggert 19d5a873 2022-12-27T08:15:37 Move scriptversion= lines up in scripts By default they need to be in the first 8 lines to be updated.
Bruno Haible 835b3ea8 2022-11-26T15:25:44 In 'trap' commands, prefer symbolic to numeric signal names. Reported by Mike Fulton <fultonm@ca.ibm.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2022-11/msg00130.html>. * gnulib-tool: Use symbolic signal names. * posix-modules: Likewise. * MODULES.html.sh: Likewise. * build-aux/bootstrap (prepare_GNULIB_SRCDIR): Likewise. * build-aux/csharpcomp.sh.in: Likewise. * build-aux/gnu-web-doc-update: Likewise. * top/autogen.sh: Likewise. * top/bootstrap-funclib.sh: Likewise. * top/gitsub.sh: Likewise. * lib/t-idcache: Likewise. * tests/havelib/rpath-1: Likewise. * tests/havelib/rpath-2_a: Likewise. * tests/havelib/rpath-2_b: Likewise. * tests/havelib/rpath-3_a: Likewise. * tests/havelib/rpath-3_b: Likewise. * tests/init.sh: Likewise. * tests/test-binary-io.sh: Likewise. * tests/test-c-stack.sh: Likewise. * tests/test-c-stack2.sh: Likewise. * tests/test-dprintf-posix.sh: Likewise. * tests/test-fpending.sh: Likewise. * tests/test-fprintf-posix.sh: Likewise. * tests/test-lseek.sh: Likewise. * tests/test-printf-posix.sh: Likewise. * tests/test-select-in.sh: Likewise. * tests/test-select-out.sh: Likewise. * tests/test-sigpipe.sh: Likewise. * tests/test-tsearch.sh: Likewise. * tests/test-update-copyright.sh: Likewise. * tests/test-vdprintf-posix.sh: Likewise. * tests/test-vfprintf-posix.sh: Likewise. * tests/test-vprintf-posix.sh: Likewise. * tests/test-xprintf-posix.sh: Likewise. * tests/uniwidth/test-uc_width2.sh: Likewise.
Simon Josefsson 757160cc 2022-11-01T09:09:02 maintainer-makefile: Fix last sc_indent commit. * top/maint.mk (sc_indent): Don't use grep -q. Suggested by Bruno Haible.
Simon Josefsson 4555e788 2022-11-01T09:06:56 maintainer-makefile: Add syntax-check rule for unportable 'grep -q'. * top/maint.mk (sc_unportable_grep_q): Add.
Simon Josefsson 4ad0eedf 2022-10-31T09:42:42 maintainer-makefile: Fix Apple Xcode 'make syntax-check'. * top/maint.mk (sc_indent): Don't use non-GNU indent.
Paul Eggert f346337d 2022-09-11T16:45:27 maint: avoid unportable ERE \} * top/maint.mk (sc_copyright_check): Avoid unportable use of \} in ERE.
Paul Eggert d0ed95b9 2022-09-11T16:26:28 verify: improve maint check * top/maint.mk (sc_prohibit_verify_without_use): Adjust re to match verify.h.
Simon Josefsson 4b17a1ae 2022-09-06T14:32:05 gnumakefile: Improve tarball reproducibility. * top/GNUmakefile (TAR_OPTIONS): Add --sort=name. Suggested by Tzvetelin Katchov <katchov@gnu.org>. * DEPENDENCIES: Mention tar 1.28 dependency.
Simon Josefsson dec71942 2022-08-16T17:26:56 maintainer-makefile: Check for incorrect DISTCHECK_CONFIGURE_FLAGS usage. * top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.
Bruno Haible c31c05e0 2022-07-31T01:07:08 doc: Update regarding bootstrap split. 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.
Bruno Haible f00af4ba 2022-07-25T10:21:42 bootstrap: Make the automatic sync more resilient. Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00060.html>. * top/bootstrap (bootstrap_sync): Set to true when bootstrap-funclib.sh is not present. * top/gen-bootstrap.sed: Insert a couple of comment lines. * build-aux/bootstrap: Regenerated using "make build-aux/bootstrap".
Bruno Haible 012d9a08 2022-07-25T00:53:48 Fix comment. Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2022-07/msg00058.html>. * top/bootstrap-funclib.sh: Fix comment about canonical location. * top/autopull.sh: Likewise. * top/autogen.sh: Likewise. * top/bootstrap: Likewise.
Bruno Haible 096abe49 2022-07-24T16:24:37 Split bootstrap into autopull.sh and autogen.sh. * top/bootstrap-funclib.sh: New file, based on build-aux/bootstrap. * top/autopull.sh: New file, based on build-aux/bootstrap. * top/autogen.sh: New file, based on build-aux/bootstrap. * top/bootstrap: New file, based on build-aux/bootstrap. * top/gen-bootstrap.sed: New file. * Makefile (build-aux/bootstrap): New rule. (regen): Depend on it. * build-aux/bootstrap: Regenerated using "make build-aux/bootstrap".
Jim Meyering fc555c0a 2022-06-23T08:12:44 maint.mk: fix syntax-check for unnecessary hash.h header use * top/maint.mk (_hash_re): Correct the regexp. It had two problems: - lacked the "hash_" prefix, so would match non-uses - failed to detect uses of the hash_x?initialize functions The former led to an excess/unneeded use of hash.h in coreutils' cut.c. The latter would have led to a FP "not needed" report for copy.c.
Paul Eggert 762bd0aa 2022-06-03T17:52:19 regex-quote: \] -> ] in EREs and BREs * build-aux/bootstrap: * build-aux/bootstrap.conf (gettext_external): * check-AC_LIBOBJ: * lib/regex-quote.c (bre_special, ere_special): * gnulib-tool (func_modules_transitive_closure) (func_emit_autoconf_snippet, func_import, func_create_testdir): * tests/test-regex-quote.c (test_bre, test_ere): * top/maint.mk (longopt_re, gpg_key_ID): Don’t use \] in BREs and EREs, as POSIX says the interpretation is undefined.
Simon Josefsson 2ca890b5 2022-03-14T11:14:50 maintainer-makefile: Improve GnuPG announce-gen options. * top/maint.mk (gpg_key_emil): New variable. (gpg_keyring_url): New variable. (announcement): Pass them as --gpg-key-email and --gpg-keyring-url.
Pádraig Brady a3e1e74e 2022-01-28T14:54:00 maintainer-makefile: fix sc_error_message_uppercase false failure * top/maint.mk (sc_error_message_uppercase): Don't trigger for any of the PRI... defines. Note we add an extra constraint here that PRI always follows a double quote, but that's almost always the case, or can be easily made so by prepending "" for example.
Bernhard Voelker 87e6634b 2022-01-04T00:16:50 license: fix GPLv3 texts to use a comma instead of semicolon. See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
Paul Eggert eec12c00 2022-01-01T09:43:19 maint: run 'make update-copyright'
Paul Eggert bb172844 2021-12-24T17:22:00 maint: tight-scope-mk need not be read-only * top/maint.mk (tight-scope.mk): Don’t bother to make tight-scope.mk read-only either.
Paul Eggert 46540554 2021-12-21T10:43:56 Move AM_V_GEN to recipe start This is especially needed when building Emacs, as it uses ‘AM_V_GEN=@$(info GEN $@)', which means the GEN line is output by GNU make just before the recipe runs, regardless of where AM_V_GEN appears in the recipe. And it’s also good practice even if the default Automake ‘AM_V_GEN=@echo GEN $@;’ is used, as it’s better to output the GEN line consistently at the start of every recipe, even if this precedes a preparatory command that almost always works silently. * modules/arpa_inet, modules/dynarray, modules/net_if: * modules/netinet_in, modules/scratch_buffer, modules/selinux-h: * modules/sys_file, modules/sys_ioctl, modules/sys_random: * modules/sys_resource, modules/sys_select, modules/sys_socket: * modules/sys_stat, modules/sys_time, modules/sys_times: * modules/sys_types, modules/sys_uio, modules/sys_utsname: * modules/sys_wait, modules/unicase/special-casing, top/maint.mk: Use AM_V_GEN only at the start of each recipe.
Simon Josefsson 9aca7b67 2021-09-20T09:40:47 maint: Avoid syntax-check failure for empty gnulib submodule. * top/maint.mk (gnulib_dir): Fall back to GNULIB_SRCDIR if submodule is not checked out.
Pádraig Brady b6bae60d 2021-09-09T16:16:03 maintainer-makefile: add 'can' to sc_prohibit_doubled_word * top/maint.mk (sc_prohibit_doubled_word): Check for "can can".
Simon Josefsson 8f043c69 2021-09-03T21:59:43 maintainer-makefile: Add indentation syntax-check rule. * top/maint.mk (indent): Use AM_V_GEN and indent_args. (sc_indent): New rule. (indent_args): New variable. (C_SOURCES): New variable, initialized to reasonable C files. (exclude_file_name_regexp--indent): New variable.
Simon Josefsson 3ace7783 2021-08-03T17:16:42 maintainer-makefile: Print checksums by default. * top/maint.mk (announcement): Drop --no-print-checksums.
Simon Josefsson 804ac808 2021-07-28T10:37:57 maintainer-makefile: Respect cfg.mk setting announcement_Cc_, reverting most of the previous patch. * top/maint.mk (announcement_mail_Cc_stable): Rename back to announcement_Cc_stable. (announcement_Cc_alpha): Rename back to announcement_mail_Cc_alpha. (announcement_Cc_): Renamed from announcement_mail_Cc_. (announcement_mail_headers_stable) (announcement_mail_headers_alpha): Use announcement_Cc_ again.
Simon Josefsson 4ee99665 2021-07-28T10:23:37 maintainer-makefile: Fix announcement mail CC's. * top/maint.mk (announcement_Cc_stable): Rename to announcement_mail_Cc_stable. (announcement_Cc_alpha): Rename to announcement_mail_Cc_alpha. (announcement_mail_headers_stable) (announcement_mail_headers_alpha): Use announcement_mail_Cc_ instead of announcement_Cc_.
Simon Josefsson 87b45614 2021-01-26T16:24:54 maintainer-makefile: Mimic bootstrap's gnulib-srcdir guessing. * top/maint.mk (gnulib_dir): If $(srcdir)/gnulib doesn't exist, fall back to $GNULIB_SRCDIR.
Simon Josefsson 411da821 2021-01-10T11:28:31 Correct preceeding change. * top/gitsub.sh: Update link.
Simon Josefsson b7da35ae 2021-01-10T01:08:38 Use https:// instead of git://. * 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.
Jim Meyering 5018ab73 2021-01-05T12:43:41 maintainer-makefile: correct preceding change * top/maint.mk (syntax-check-rules): Use LC_ALL=C, not LANG=C.
Simon Josefsson cc4e07d3 2021-01-04T23:12:46 maintainer-makefile: Invoke syntax-checks regardless of locale. * top/maint.mk (syntax-check-rules): Invoke sed with LANG=C environment because [a-z] may not include 'w' in all locales.
Paul Eggert 4b948321 2021-01-01T07:28:52 maint: run 'make update-copyright'
Paul Eggert ed5f8be8 2020-08-01T16:19:37 gnumakefile: say ‘$(MAKE)’ not ‘make’ * top/GNUmakefile (abort-due-to-no-makefile): Prefer ‘$(MAKE)’ to ‘make’ in a diagnostic. This change is backported from Autoconf.
Paul Eggert 1aa70bfd 2020-06-29T16:37:14 * top/maint.mk: Pacify Autoconf TAB-8-space rule.
Paul Eggert 2cdc1baf 2020-01-01T00:00:18 maint: Run 'make update-copyright'
Akim Demaille fffc8765 2019-10-22T10:28:50 maintainer-makefile: update rule for argmatch * top/maint.mk (sc_prohibit_argmatch_without_use): Add ARGMATCH_DEFINE_GROUP.
Bruno Haible 231b2a88 2019-09-01T17:34:03 gitsub.sh: Add support for shallow-cloning of subdirectories. * top/gitsub.sh (func_usage): Document allowed git options with 'git pull'. (func_pull): Accept GIT_OPTIONS argument. (pull): Parse git options before complaining about too many arguments. Pass the git options to func_pull.
Akim Demaille 7f7d18eb 2019-06-22T17:52:16 maintainer-makefile: restore portability to non-GNU awks Reported by Tim Rühsen. * top/maint.mk (AWK): New variable. Use it. (sc_prohibit_gnu_make_extensions): Skip if $(AWK) is not gawk.
Akim Demaille 97e4b248 2019-05-18T08:46:00 maintainer-makefile: catch uses of $< in non-implicit rules * top/maint.mk (sc_prohibit_magic_number_exit): New.
Bruno Haible cff31e5c 2019-04-01T23:15:56 gitsub.sh: New file. * top/gitsub.sh: New file.
Bernhard Voelker e3970fb9 2018-11-29T09:06:26 long-options: add parse_gnu_standard_options_only Discussed in https://bugs.gnu.org/33468 . * lib/long-options.c (parse_long_options): Use EXIT_SUCCESS instead of 0. (parse_gnu_standard_options_only): Add function to process the GNU default options --help and --version and fail for any other unknown long or short option. See https://gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html . * lib/long-options.h (parse_gnu_standard_options_only): Declare it. * modules/long-options (depends-on): Add stdbool, exitfail. * top/maint.mk (sc_prohibit_long_options_without_use): Update syntax-check rule, add new function name.
Bruno Haible 8089c009 2019-01-06T22:30:13 maintainer-makefile: Make the configure.ac section optional. * top/maint.mk (GREP, SED): Define if not defined.
Eric Blake 70eb4687 2019-01-03T09:19:27 maintainer-makefile: fix typo in previous patch * top/maint.mk (_sc_search_regexp): Fix my accidental corruption of Roman's work. Signed-off-by: Eric Blake <eblake@redhat.com>