summaryrefslogtreecommitdiff
path: root/top/GNUmakefile
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* gnumakefile: Improve tarball reproducibility.Simon Josefsson2022-09-061-1/+1
| | | | | | * top/GNUmakefile (TAR_OPTIONS): Add --sort=name. Suggested by Tzvetelin Katchov <katchov@gnu.org>. * DEPENDENCIES: Mention tar 1.28 dependency.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* gnumakefile: say ‘$(MAKE)’ not ‘make’Paul Eggert2020-08-011-1/+1
| | | | | | * top/GNUmakefile (abort-due-to-no-makefile): Prefer ‘$(MAKE)’ to ‘make’ in a diagnostic. This change is backported from Autoconf.
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* all: prefer https: URLsPaul Eggert2017-09-131-1/+1
|
* 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'.
* 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>
* 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>
* GNUmakefile: simplify detection of unconfigured treesStefano Lattarini2012-02-161-12/+2
| | | | | | * top/GNUmakefile: Use $(wildcard) instead of $(shell) to determine whether the tree make is being run from is already configured or not. Related simplifications.
* In commentary, do not use ` to quote.Paul Eggert2012-01-051-1/+1
|
* Use ', not `, for quoting output.Paul Eggert2012-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* GNUmakefile: behave when Makefile is missing.Simon Josefsson2011-11-081-0/+5
| | | | * top/GNUmakefile: Always initialize _build-aux and _autoreconf.
* GNUmakefile: reenable "make syntax-check" for most projectsJim Meyering2011-10-301-1/+2
| | | | | | | | | | 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.
* 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>