mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-09 02:10:22 +08:00
Add more non-srcdir build support.
* GNUmakefile (dummy): Split a long line. Add -v option to autoreconf invocation.
This commit is contained in:
parent
dcae1fc785
commit
7daa47a115
@ -1,5 +1,9 @@
|
||||
2007-11-12 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
Add more non-srcdir build support.
|
||||
* GNUmakefile (dummy): Split a long line.
|
||||
Add -v option to autoreconf invocation.
|
||||
|
||||
Remove the autoreconf-provided INSTALL, so that we regenerate it.
|
||||
* GNUmakefile (dummy): Remove INSTALL.
|
||||
|
||||
|
@ -51,10 +51,14 @@ include Makefile
|
||||
ifeq (0,$(MAKELEVEL))
|
||||
_is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS))
|
||||
ifneq (,$(_is-dist-target))
|
||||
_curr-ver := $(shell build-aux/git-version-gen $(srcdir) .version)
|
||||
_curr-ver := $(shell $(srcdir)/build-aux/git-version-gen $(srcdir) .version)
|
||||
ifneq ($(_curr-ver),$(VERSION))
|
||||
$(info INFO: running autoreconf for new version string; old: $(_curr-ver))
|
||||
dummy := $(shell rm -rf autom4te.cache; autoreconf -i -v && $(MAKE) clean && rm -f INSTALL)
|
||||
dummy := $(shell \
|
||||
rm -rf autom4te.cache; \
|
||||
(cd $(srcdir) && autoreconf -i -v) \
|
||||
&& $(MAKE) clean \
|
||||
&& rm -f INSTALL)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user