diff options
author | Jim Meyering <meyering@redhat.com> | 2008-08-26 10:14:36 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-08-26 14:29:43 +0200 |
commit | 5682f5f5c354875d4b0a75a1d1b39795123a1518 (patch) | |
tree | c7923804e41630f222525ca2480bac7323dc7936 /top/GNUmakefile | |
parent | b5d21bb981778980b5f952be6075f5054a2eabd2 (diff) | |
download | gnulib-5682f5f5c354875d4b0a75a1d1b39795123a1518.tar.gz |
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.
Diffstat (limited to 'top/GNUmakefile')
-rw-r--r-- | top/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/top/GNUmakefile b/top/GNUmakefile index 7635e8dc58..4b4cf15cf7 100644 --- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -53,9 +53,9 @@ _autoreconf ?= autoreconf _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, \ + _is-dist-target ?= $(filter-out %clean, \ $(filter maintainer-% dist% alpha beta major,$(MAKECMDGOALS))) - _is-install-target = $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) + _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) _curr-ver := $(shell cd $(srcdir) \ && $(_build-aux)/git-version-gen .tarball-version) |