|
208edc20
|
2009-12-05T10:02:01
|
|
maint.mk: backslash-escape parens in default regexp
* top/maint.mk (news-check-regexp): Now that we're using grep -E,
backslash-escape the literal parentheses.
|
|
875fb2d6
|
2009-12-05T09:35:28
|
|
maint.mk: news-check: use grep -E
* top/maint.mk (today): Define a Make variable, not a...
(news-date-check): ...shell variable.
(news-check-regexp): Use the Make variable.
Use grep's -E option. Change the failing diagnostic to mention
the variable, $(news-check-regexp).
(news-check): Rename target from news-date-check. Update sole use.
|
|
9ecc3fc8
|
2009-12-04T21:27:40
|
|
maintainer-makefile: allow customization of NEWS entry format
* top/maint.mk (news-date-regexp): New overridable variable.
(news-date-check): Use it.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
481f709c
|
2009-11-20T06:23:42
|
|
build: mention ftp redirector in release announcements
Now that http://ftpmirror.gnu.org/PACKAGE/ redirects to a nearby
mirror, we should promote its use in release announcements.
Meanwhile, mention the mirror list.
* top/maint.mk (gnu_rel_host, url_dir_list): Provide defaults for
values that used to come from cfg.mk; mention FTP redirect URL.
* build-aux/announce-gen: Mention the mirror list.
Suggested by Karl Berry.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
00b2f10b
|
2009-11-20T13:24:24
|
|
maint.mk: improve sc_prohibit_magic_number_exit
* top/maint.mk (sc_prohibit_magic_number_exit): Tighten regexp
so it does not match uses like System.exit(1).
Add comments showing how to correct all offenders.
|
|
9a93371c
|
2009-11-14T09:53:26
|
|
maint.mk: Prohibit inclusion of "xalloc.h" without use.
* top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
|
|
46b36899
|
2009-11-05T18:26:32
|
|
maint.mk: Prohibit inclusion of "close-stream.h" without use.
* top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
|
|
975243c9
|
2009-10-29T07:29:26
|
|
maint: detect usage(1) and other suspicious exits
* top/maint.mk (sc_prohibit_magic_number_exit): New rule.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
1c233a6b
|
2009-10-01T10:09:30
|
|
maint.mk: requiring "make major" was annoying, for a "minor" release.
What is intended is "stable", to contrast with alpha and beta,
so require "make stable", not "make major".
* build-aux/announce-gen (%valid_release_types): s/major/stable/.
(get_tool_versions): Likewise.
* top/maint.mk (ALL_RECURSIVE_TARGETS): s/major/stable/
|
|
27fc6b8b
|
2009-09-19T19:51:05
|
|
syntax-check: detect unnecessary inclusion of canonicalize.h
* top/maint.mk (sc_prohibit_canonicalize_without_use): New rule.
|
|
370fec14
|
2009-09-07T05:28:13
|
|
openat: provide more convenience names
* modules/faccessat (configure.ac): Add C witness.
* lib/unistd.in.h (readlinkat): Fix typo.
* lib/openat.h (statat, lstatat, accessat, euidaccessat): New
convenience wrappers.
* top/maint.mk (sc_prohibit_openat_without_use): Allow these
wrappers in syntax checks.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
77f13fca
|
2009-09-05T19:54:12
|
|
syntax-check: detect unnecessary inclusion of openat.h
* top/maint.mk (sc_prohibit_openat_without_use): New rule.
|
|
1f6f04fa
|
2009-09-01T16:39:43
|
|
maint.mk: sort the list of syntax-check rules
* top/maint.mk (syntax-check-rules): Sort syntax-check rules, so it's
easier to get a sense of progress when the rules are run sequentially
and take a long time.
|
|
53181ad5
|
2009-08-29T17:24:03
|
|
maint.mk: remove more coreutils-specific targets; XZ_OPT=-9ev
* top/maint.mk (cvs-check): Remove target; it was just an alias
to the better-named vc-diff-check.
(maintainer-distcheck): Remove rule. It was used only from
the (alpha/beta/major) target, and all of its commands but one
were coreutils-specific.
(vc-dist): Remove rule.
(alpha beta major): Run "$(MAKE) distcheck" explicitly.
Run vc-diff-check, not vc-dist.
Run $(MAKE) dist with XZ_OPT=-9ev. Note spelling, with "-".
|
|
1bf2866e
|
2009-08-20T11:04:20
|
|
maint.mk: _header_without_use: fix a quoting bug and remove a bash'ism
* top/maint.mk (_header_without_use): Use "\\\\", not "\\" in the sed
expression that converts "." in a file name to "\." in the resulting
regexp. Start with a dummy statement, so that prior shell variable
definitions are expanded portably. Reported by Simon Josefsson.
|
|
3ef64012
|
2009-08-17T21:41:57
|
|
maint.mk: give full control over update-copyright exclusions
* top/maint.mk (VC_LIST_EXCEPT): Instead of ChangeLog, use
${VC_LIST_EXCEPT_DEFAULT-ChangeLog} as the default exclusion.
(update-copyright): Don't force inclusion of top-level
ChangeLog. Don't force exclusion of all COPYING files, but make
them the default exclusion instead.
|
|
284c3066
|
2009-08-14T09:40:53
|
|
maint.mk: simplify update-copyright rule
* top/maint.mk (update-copyright-local): Delete, and document how
to do it in cfg.mk instead.
(update-copyright-exclude-regexp): Delete, and document how to do
it in .x-update-copyright instead.
(update-copyright): Simplify, thanks to VC_LIST_EXCEPT. Don't
exclude ChangeLog.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
e98f3a0b
|
2009-08-14T15:26:20
|
|
maint.mk: support update-copyright-env
* top/maint.mk (update-copyright-env): Define place-holder.
(update-copyright): Expand $(update-copyright-env) before
invoking update-copyright.
|
|
851901de
|
2009-08-06T09:25:05
|
|
maint.mk: support update-copyright-local
* top/maint.mk (update-copyright-local): Define place-holder.
(update-copyright): Depend on $(update-copyright-local).
|
|
8eda5d5d
|
2009-08-04T11:17:08
|
|
maint.mk: make update-copyright exclusion list more configurable
* top/maint.mk (update-copyright): Default to excluding COPYING,
but allow an override, in case someone does want to update that file.
|
|
ecc53e8b
|
2009-08-04T10:44:05
|
|
maint.mk: don't update copyright date in COPYING
* top/maint.mk (update-copyright): Exclude COPYING.
|
|
9c34d44f
|
2009-08-04T09:53:04
|
|
maint.mk: add a copyright-updating rule
* top/maint.mk (update-copyright): New rule.
Derived from coreutils/Makefile.am.
|
|
83c5d5d5
|
2009-08-01T11:43:31
|
|
maint.mk: relax update-NEWS-hash to accept more syntax
* top/maint.mk (update-NEWS-hash): Match variants of the
"old_NEWS_hash = ...HASH..." line: allow TABs, more than one space,
and ":=" in place of "=".
|
|
ef70f5d6
|
2009-07-25T15:43:11
|
|
maint.mk: avoid warnings about missing files
* top/maint.mk (PREV_VERSION): Suppress stderr, to hide a
diagnostic when .prev-version does not exist.
(_cfg_mk): Define, so it can be empty when cfg.mk does not exist.
(syntax-check-rules): Use $(_cfg_mk) to avoid a diagnostic about
nonexistent cfg.mk.
Suggestions from Simon Josefsson.
|
|
2d8b95d6
|
2009-07-23T10:05:10
|
|
maint.mk: invoke "make dist" with a working value of XZ_OPT
* top/maint.mk (vc-dist): Use no "-" in the value of XZ_OPT.
|
|
b653eda3
|
2009-07-07T18:35:23
|
|
maint.mk: don't look for translatable strings in *.m4 or *.mk
* top/maint.mk (sc_po_check): Skip *.m4 and *.mk files,
when searching for translatable strings.
|
|
12f78b4f
|
2009-06-19T14:25:37
|
|
tests: maint.mk: make sc_require_test_exit_idiom more generic
* top/maint.mk (Exit_witness_file): New overridable variable.
(sc_require_test_exit_idiom): Don't hard-code tests/test-lib.sh.
Relax test for /^Exit \$fail$$/ to just /^Exit ./.
|
|
2c9ffa27
|
2009-05-18T06:12:37
|
|
maint.mk: allow gnulib_dir in VPATH build
* top/maint.mk (gnulib_dir): Make relative to $(srcdir).
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
61893df3
|
2009-05-15T15:00:44
|
|
maint.mk: Give gnulib_dir a default definition.
* top/maint.mk (gnulib_dir): Define to 'gnulib', by default.
Thus, most packages no longer need to specify this variable in cfg.mk
|
|
875f1b6f
|
2009-05-12T08:15:54
|
|
* top/maint.mk: Adjust backslash alignment.
|
|
2df2b1e4
|
2009-05-11T15:23:05
|
|
top/maint.mk: Make $(srcdir)/build-aux configurable.
|
|
c90c5cc8
|
2009-05-03T15:39:00
|
|
maint: make the new no-submodule-changes rule VPATH-safe
* top/maint.mk (no-submodule-changes): Don't assume a srcdir build.
|
|
181a69f9
|
2009-05-02T22:20:10
|
|
build: ensure that a release build fails when a submodule is unclean
* top/maint.mk (no-submodule-changes): New rule.
(alpha beta major): Depend on it.
|
|
3c52ec71
|
2009-04-27T08:36:55
|
|
maint.mk: allow package-specific header to provide <config.h>
* top/maint.mk (sc_require_config_h): New variable.
(sc_require_config_h, sc_require_config_h_first): Use it.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
2185cfa3
|
2009-04-27T15:25:50
|
|
top/maint.mk (sc_avoid_if_before_free): Except useless-if-before-free script.
|
|
3262ad57
|
2009-04-27T06:27:04
|
|
maintainer-makefile: depend on all required helper scripts
* modules/maintainer-makefile (Depends-on): Add vc-list-files and
useless-if-before-free.
* top/maint.mk (VC_LIST, sc_avoid_if_before_free): Use local
version, rather than assuming gnulib checkout is available.
Reported by Simen Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
72deb107
|
2009-04-24T14:57:01
|
|
maint.mk: import improvements from m4
* top/maint.mk (VC-tag): Use signing key from cfg.mk.
(move_if_change): Delete unused macro.
(news-date-check, vc-diff-check): Support VPATH builds.
(announcement): Likewise. Split --bootstrap-tools list...
(boostrap-tools): ...into separate list, which can be overridden
in cfg.mk.
(sc_avoid_if_before_free): Point to $(gnulib_dir), rather than
requiring dependency on useless-if-before-free module.
(VC_LIST, VC_LIST_EXCEPT): Likewise for vc-list-files module.
Support VPATH builds.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
f937d166
|
2009-04-24T20:45:37
|
|
maint.mk: remove coreutils-specific rules and variables
* top/maint.mk (bin, taint-distcheck, coreutils-path-check, t): Remove.
(fake_home, install-transform-check, my-instcheck, pfx, TMPDIR): Remove.
(t_prefix, t_taint, tp, warn_cflags, write_loser, my-distcheck): Remove.
|
|
b3b22c81
|
2009-04-24T20:27:52
|
|
maint.mk: remove obsolete rule
* top/maint.mk (rel-check): Remove rule.
(WGET, WGETFLAGS): Remove now-unused variables.
|
|
6b2bfb11
|
2009-04-24T09:57:11
|
|
top/maint.mk (makefile-check): Renamed to sc_makefile_check for consistency.
|
|
7f62c240
|
2009-04-24T00:53:35
|
|
Sync maint.mk with coreutils.
|
|
ebdab464
|
2009-04-17T08:51:35
|
|
maintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.
|
|
c69a33bd
|
2009-04-07T09:05:47
|
|
maint.mk: import changes to syntax-check macros from coreutils
* top/maint.mk (_prohibit_regexp, _header_without_use): Define.
Use them in the relevant macros.
|
|
01c0837c
|
2009-03-14T18:28:47
|
|
maint.mk: really add $(AM_MAKEFLAGS)
* top/maint.mk (init-coverage, build-coverage): `$(AM_MAKEFLAGS)'
was inadvertently omitted in the last commit.
Spotted by Bruno Haible.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
77d1b17d
|
2009-03-14T17:07:45
|
|
maint.mk: use $(MAKE) $(AM_MAKEFLAGS) not make
* top/maint.mk (init-coverage, build-coverage): Use `$(MAKE)
$(AM_MAKEFLAGS)' rather than plain `make'.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
52af63c6
|
2009-03-14T16:52:06
|
|
* top/GNUmakefile (_have-git-version-gen): Fix typo.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
6eeeffb0
|
2009-03-14T16:50:46
|
|
GNUmakefile: disable parallelism only for multiple, recursive targets
* top/GNUmakefile (ALL_RECURSIVE_TARGETS): New macro; allow user
additions in the Makefile.
(AM_RECURSIVE_TARGETS): New macro, override only if not provided
by Automake.
(.NOTPARALLEL): Only disable parallel builds if multiple targets
are listed on the command line and at least one of them is
listed in $(ALL_RECURSIVE_TARGETS).
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
5c674409
|
2008-12-09T19:43:57
|
|
fix sed script reading maint.mk
* top/maint.mk (MYSELF): New macro, define as $(srcdir)/$(ME).
(syntax-check-rules): Use it.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
915d9ab2
|
2008-11-18T01:32:33
|
|
maintainer-makefile: Fix sed regexp.
|
|
dfb03f6c
|
2008-11-03T12:20:18
|
|
maint.mk: Use --coverage.
|
|
cdccece5
|
2008-10-28T22:53:47
|
|
top/maint.mk: Add coverage rules, inspired by scripts in gnupdf.
|
|
ff3d0c91
|
2008-10-09T10:35:37
|
|
GNUmakefile: use the more name-space-friendly "_version"
* top/GNUmakefile (_dummy): Update.
(_version): Rename from "version".
|
|
d8de5f64
|
2008-10-08T08:46:29
|
|
GNUmakefile: add 'make version' target
* top/GNUmakefile (_curr-ver): Split version update rules...
(version): ...into a target.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
3d89c9eb
|
2008-08-28T19:33:04
|
|
maint.mk: adjust to file name change
* top/maint.mk: s/Makefile.cfg/cfg.mk/.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
5682f5f5
|
2008-08-26T10:14:36
|
|
GNUmakefile: cfg.mk definitions override default autoreconf-rerun policy
* top/GNUmakefile (_is-dist-target, _is-install-target): Make
these definitions conditional, so that they may be overridden, too.
|
|
5632bd4c
|
2008-08-04T12:45:23
|
|
gnumakefile: use space, not TAB, outside of targets
* top/GNUmakefile (_dummy): Fix whitespace error in prior edit.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
837e2dc2
|
2008-08-02T10:23:16
|
|
Portability fix for GNU make 3.79.1.
* top/GNUmakefile: Avoid 'else COND', which older GNU make
versions do not understand.
|
|
662cd064
|
2008-07-21T21:45:30
|
|
Warn, not fail, on stale version.
* top/GNUmakefile (_curr-ver): Tone down previous patch.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
48e27cbb
|
2008-07-21T09:13:38
|
|
Don't allow installation with stale devel version number.
* top/GNUmakefile (_is-install-target): New macro.
(_curr-ver): Forbid installation with stale version number.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
5f9c828e
|
2008-06-18T22:33:37
|
|
Fix VPATH 'make dist' with GNU make and non-VCS tarball.
* top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily.
Reported by Stepan Kasal.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
2b2986f1
|
2008-06-04T16:03:13
|
|
Be tolerant of UNKNOWN version in gnulib-tool test dir.
* top/GNUmakefile (_dummy): Warn rather than reconfigure if
git-version-gen fails to come up with a version.
Reported by Simon Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
a0bdb062
|
2008-05-20T08:45:49
|
|
remove trailing blanks
|
|
1a98f86f
|
2008-04-03T16:31:30
|
|
Ensure sane .version contents.
* top/GNUmakefile (_dummy): Also delete .version when rebuilding
version string.
* build-aux/git-version-gen: Improve documentation.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
95002d80
|
2008-04-03T14:03:49
|
|
Make GNU make output nicer.
* top/GNUmakefile [!_have-Makefile]: Add dependency on
MAKECMDGOALS to enforce message for all command line targets. Set
srcdir for use in maint.mk.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
4424b418
|
2008-04-03T10:55:10
|
|
Another maintainer tweak.
* top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
a target that regenerates version.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
3b3e9653
|
2008-03-21T22:29:37
|
|
Alter GNUmakefile to install into top directory.
* modules/maintainer-makefile: Split, and add dependency...
* modules/gnumakefile: to this new module.
* build-aux/GNUmakefile: Move...
* top/GNUmakefile: ...here.
* build-aux/maint.mk: Move...
* top/maint.mk: ...here.
* MODULES.html.sh (Support for maintaining...): Document new
module.
Signed-off-by: Eric Blake <ebb9@byu.net>
|