31 Commits
Author SHA1 Message Date
Paul Eggert a3fd683de3 version-etc: new year
* 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'.
2017-01-01 02:59:23 +00:00
Paul Eggert 71090a2a31 version-etc: new year
* 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'.
2016-01-01 00:57:21 -08:00
Paul Eggert b9bfe78424 version-etc: new year
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
* all files: Run 'make update-copyright'.
2014-12-31 17:47:54 -08:00
Eric Blake 1276a2c5f2 maint: update copyright
I ran 'make update-copyright'.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-01-01 00:07:10 -07:00
Eric Blake 9fc81090f6 maint: update all copyright year number ranges
Run "make update-copyright".  Compare to commit 1602f0a from last year.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-01-01 00:50:58 +00:00
Stefano Lattarini 50bb21eab7 GNUmakefile: simplify detection of unconfigured trees
* top/GNUmakefile: Use $(wildcard) instead of $(shell) to determine
whether the tree make is being run from is already configured or
not.  Related simplifications.
2012-02-16 20:38:23 +01:00
Paul Eggert 51e801f2f2 In commentary, do not use ` to quote. 2012-01-05 23:55:42 -08:00
Paul Eggert 04c1ac6962 Use ', not `, for quoting output.
* build-aux/announce-gen (usage, sizes, print_news_deltas)
(print_changelog_deltas, get_tool_versions, main program):
* build-aux/git-version-gen:
* build-aux/gitlog-to-changelog (usage, parse_amend_file):
* build-aux/move-if-change (help):
* build-aux/useless-if-before-free (usage, main program):
* check-module (parse_module_file, usage)
(find_included_lib_files, check_module):
* lib/argmatch.c (main) [TEST]:
* lib/argp-help.c (_help):
* lib/getopt1.c (main) [TEST]:
* lib/git-merge-changelog.c (usage):
* lib/xstrtol-error.c (xstrtol_error):
* m4/alloca.m4 (_AC_LIBOBJ_ALLOCA):
* m4/argz.m4 (gl_FUNC_ARGZ):
* m4/bison.m4 (gl_BISON):
* m4/calloc.m4 (gl_FUNC_CALLOC_GNU):
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS):
* m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
* m4/fpending.m4 (gl_PREREQ_FPENDING):
* m4/gc-random.m4 (gl_GC_RANDOM):
* m4/intl.m4 (gt_CHECK_DECL):
* m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK):
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT)
(AC_TYPE_UNSIGNED_LONG_LONG_INT):
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS):
* m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK):
* m4/onceonly.m4 (AC_CHECK_FUNCS_ONCE):
* m4/posixver.m4 (gl_DEFAULT_POSIX2_VERSION):
* tests/test-dirname.c (main):
* tests/test-getpass.c (main):
* tests/test-iconvme.c (main):
* tests/test-parse-datetime.c (LOG):
* tests/test-xstrtoimax.sh:
* tests/test-xstrtol.sh:
* tests/test-xstrtoll.sh:
* tests/test-xstrtoumax.sh:
* tests/unigbrk/test-uc-is-grapheme-break.c (main):
* top/GNUmakefile (abort-due-to-no-makefile):
Quote 'like this', not `like this', as per the recent change to
the GNU coding standards.
2012-01-05 23:44:47 -08:00
Jim Meyering 1602f0afed maint: update all copyright year number ranges
Run "make update-copyright".
2012-01-01 10:04:58 +01:00
Simon Josefsson 92347d7228 GNUmakefile: behave when Makefile is missing.
* top/GNUmakefile: Always initialize _build-aux and _autoreconf.
2011-11-08 21:29:39 +01:00
Jim Meyering a765077b04 GNUmakefile: reenable "make syntax-check" for most projects
Since Friday's commit 05e2d798, "maint.mk: don't maintain a second
build-aux variable", "syntax-check" would do nothing but succeed with
the "No version control files detected..." diagnostic (unless you
happened to override _build-aux via cfg.mk).
* top/GNUmakefile (_autoreconf, _build-aux): Move default definitions
to precede inclusion of maint.mk.  Otherwise, these variables would
be used undefined in any project that does not override the default.
2011-10-30 22:21:07 +01:00
Jim Meyering d60f3b0c6b maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule.
2011-01-01 22:12:59 +01:00
Jim Meyering fdaeccfb85 GNUmakefile: handle "stable" target, not "major"
* top/GNUmakefile (_is-dist-target): s/major/stable/ to match the
lists in maint.mk and announce-gen.  Without this, "make stable"
would fail to ensure that $(VERSION) is up to date.
2010-10-15 20:12:52 +02:00
Ludovic Courtès 8ab5996c4a git-version-gen: take a sed script to transform the git tag
* build-aux/git-version-gen (tag_sed_script): New variable.  Use it to
transform the output of "git describe" to the canonical form.
* top/GNUmakefile (_curr-ver): Pass $(git-version-gen-tag-sed-script) as
a second argument to `git-version-gen'.
2010-05-28 17:22:17 +02:00
Eric Blake 6c2dbbd94e gnumakefile: don't squelch _version output
Borrowing from a trick I discovered on the libvirt list.
More details about how this trick works:

GNU make parses all Makefiles, then checks whether they are
up-to-date, all before making anything else; if any Makefile
timestamps change, then it restarts with the original arguments and
repeats the check for up-to-date Makefiles (assuming that this time
the check will pass).  Since all the rules are parsed before Makefile
is updated, proceeding without reloading Makefiles would result in the
use of the stale $(VERSION) string that was in effect when we first
started, so we must update a timestamp to force the reload.  However,
if we made Makefile depend on _version, we would end up running
_version twice.  So instead, we make _version run a recursive make to
update Makefile (the recursive make skips the rules for checking
whether the version string needs an update, avoiding any extra runs of
_version), then ensure that GNUmakefile has an updated timestamp to
force the reload of the updated Makefile.

* top/GNUmakefile (GNUmakefile): Create one-shot dependency rather
than using $(shell) to run _version target.
(_autoreconf): Run verbosely, by default.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-03-31 14:39:13 -06:00
Jim Meyering b2e2010c7c update nearly all FSF copyright year lists to include 2010
Use the same procedure as for 2009, outlined in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
2010-01-01 10:42:00 +01:00
Ralf Wildenhues 52af63c6db * top/GNUmakefile (_have-git-version-gen): Fix typo.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2009-03-14 16:52:06 +01:00
Ralf Wildenhues 6eeeffb05e 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>
2009-03-14 16:50:46 +01:00
Jim Meyering ff3d0c9111 GNUmakefile: use the more name-space-friendly "_version"
* top/GNUmakefile (_dummy): Update.
(_version): Rename from "version".
2008-10-09 14:29:30 +02:00
Eric Blake d8de5f64e9 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>
2008-10-08 08:46:29 -06:00
Jim Meyering 5682f5f5c3 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.
2008-08-26 14:29:43 +02:00
Eric Blake 5632bd4cfe 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>
2008-08-04 12:45:23 -06:00
Ralf Wildenhues 837e2dc24d Portability fix for GNU make 3.79.1.
* top/GNUmakefile: Avoid 'else COND', which older GNU make
versions do not understand.
2008-08-02 11:19:52 +02:00
Eric Blake 662cd06405 Warn, not fail, on stale version.
* top/GNUmakefile (_curr-ver): Tone down previous patch.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-07-21 21:45:30 -06:00
Eric Blake 48e27cbb6c 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>
2008-07-21 15:34:19 -06:00
Eric Blake 5f9c828ed3 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>
2008-06-18 22:43:16 -06:00
Eric Blake 2b2986f177 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>
2008-06-05 08:05:45 -06:00
Eric Blake 1a98f86fef 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>
2008-04-03 16:53:45 -06:00
Eric Blake 95002d8000 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>
2008-04-03 14:03:49 -06:00
Eric Blake 4424b418b6 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>
2008-04-03 11:00:06 -06:00
Eric Blake 3b3e965313 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>
2008-03-24 05:45:26 -06:00