Mercurial > hg > octave-lyh > gnulib-hg
changeset 10364:6aeb93074376
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 26 Aug 2008 10:14:36 +0200 |
parents | bc5e93558aa9 |
children | a61ef477bb04 |
files | ChangeLog top/GNUmakefile |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-26 Jim Meyering <meyering@redhat.com> + + 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 Bruno Haible <bruno@clisp.org> Generate INSTALL file variants with prettier quotes.
--- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -53,9 +53,9 @@ _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)