[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNUmakefile and maintainer-distcheck
From: |
Eric Blake |
Subject: |
GNUmakefile and maintainer-distcheck |
Date: |
Thu, 3 Apr 2008 16:56:49 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
In preparing autoconf 2.62, I noticed that 'make distcheck' triggered a version
update, but not the more extensive 'make maintainer-distcheck'. Fixed as
follows.
From: Eric Blake <address@hidden>
Date: Thu, 3 Apr 2008 10:55:10 -0600
Subject: [PATCH] Another maintainer tweak.
* top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
a target that regenerates version.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 4 ++++
top/GNUmakefile | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 90d0bb2..38e0a50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-04-03 Eric Blake <address@hidden>
+ Another maintainer tweak.
+ * top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
+ a target that regenerates version.
+
Allow VPATH usage of vc-list-files.
* build-aux/vc-list-files (scriptversion): Add timestamp.
(options): Add --help, --version, -C.
diff --git a/top/GNUmakefile b/top/GNUmakefile
index 38dd126..42d7d12 100644
--- a/top/GNUmakefile
+++ b/top/GNUmakefile
@@ -54,7 +54,7 @@ _have-git-version-gen := \
$(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes)
ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
_is-dist-target = $(filter-out %clean, \
- $(filter dist% alpha beta major,$(MAKECMDGOALS)))
+ $(filter maintainer-% dist% alpha beta major,$(MAKECMDGOALS)))
ifneq (,$(_is-dist-target))
_curr-ver := $(shell cd $(srcdir) && ./$(_build-aux)/git-version-gen \
$(srcdir)/.tarball-version)
--
1.5.4
- GNUmakefile and maintainer-distcheck,
Eric Blake <=