summaryrefslogtreecommitdiff
path: root/top/GNUmakefile
Commit message (Collapse)AuthorAgeFilesLines
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-011-1/+1
| | | | Run the new "make update-copyright" rule.
* GNUmakefile: handle "stable" target, not "major"Jim Meyering2010-10-151-1/+1
| | | | | | * 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.
* git-version-gen: take a sed script to transform the git tagLudovic Courtès2010-05-281-2/+4
| | | | | | | * 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'.
* gnumakefile: don't squelch _version outputEric Blake2010-03-311-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* 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
* * top/GNUmakefile (_have-git-version-gen): Fix typo.Ralf Wildenhues2009-03-141-1/+1
| | | | Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* GNUmakefile: disable parallelism only for multiple, recursive targetsRalf Wildenhues2009-03-141-3/+18
| | | | | | | | | | | | * 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>
* GNUmakefile: use the more name-space-friendly "_version"Jim Meyering2008-10-091-4/+4
| | | | | * top/GNUmakefile (_dummy): Update. (_version): Rename from "version".
* GNUmakefile: add 'make version' targetEric Blake2008-10-081-3/+7
| | | | | | | * top/GNUmakefile (_curr-ver): Split version update rules... (version): ...into a target. Signed-off-by: Eric Blake <ebb9@byu.net>
* GNUmakefile: cfg.mk definitions override default autoreconf-rerun policyJim Meyering2008-08-261-2/+2
| | | | | * top/GNUmakefile (_is-dist-target, _is-install-target): Make these definitions conditional, so that they may be overridden, too.
* gnumakefile: use space, not TAB, outside of targetsEric Blake2008-08-041-14/+14
| | | | | | * top/GNUmakefile (_dummy): Fix whitespace error in prior edit. Signed-off-by: Eric Blake <ebb9@byu.net>
* Portability fix for GNU make 3.79.1.Ralf Wildenhues2008-08-021-12/+14
| | | | | * top/GNUmakefile: Avoid 'else COND', which older GNU make versions do not understand.
* Warn, not fail, on stale version.Eric Blake2008-07-211-3/+3
| | | | | | * top/GNUmakefile (_curr-ver): Tone down previous patch. Signed-off-by: Eric Blake <ebb9@byu.net>
* Don't allow installation with stale devel version number.Eric Blake2008-07-211-1/+11
| | | | | | | * top/GNUmakefile (_is-install-target): New macro. (_curr-ver): Forbid installation with stale version number. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix VPATH 'make dist' with GNU make and non-VCS tarball.Eric Blake2008-06-181-2/+2
| | | | | | | * top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily. Reported by Stepan Kasal. Signed-off-by: Eric Blake <ebb9@byu.net>
* Be tolerant of UNKNOWN version in gnulib-tool test dir.Eric Blake2008-06-051-3/+7
| | | | | | | | * 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>
* Ensure sane .version contents.Eric Blake2008-04-031-1/+2
| | | | | | | | * 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>
* Make GNU make output nicer.Eric Blake2008-04-031-0/+5
| | | | | | | | * 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>
* Another maintainer tweak.Eric Blake2008-04-031-1/+1
| | | | | | | * top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as a target that regenerates version. Signed-off-by: Eric Blake <ebb9@byu.net>
* Alter GNUmakefile to install into top directory.Eric Blake2008-03-241-0/+86
* 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>