README-hacking: Recommend running autoreconf -vi.

* GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
so that we use just-built tools when they're available.
Suggestions from Ralf Wildenhues.
This commit is contained in:
Jim Meyering 2007-10-27 21:57:32 +02:00
parent 441bb2a1c3
commit a441cb176c
4 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2007-10-28 Jim Meyering <meyering@redhat.com>
README-hacking: Recommend running autoreconf -vi.
* GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
so that we use just-built tools when they're available.
Suggestions from Ralf Wildenhues.
2007-10-28 Jim Meyering <meyering@redhat.com>
Make inter-release --version output more useful.

View File

@ -4,7 +4,7 @@
# It is necessary if you want to build targets usually of interest
# only to the maintainer.
# Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc.
# Copyright (C) 2001, 2003, 2006-2007 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -47,8 +47,8 @@ ifeq (0,$(MAKELEVEL))
ifneq (,$(_is-dist-target))
_curr-ver := $(shell build-aux/git-version-gen .version)
ifneq ($(_curr-ver),$(VERSION))
$(info INFO: rerunning autoconf for new version string: $(_curr-ver))
dummy := $(shell rm -rf autom4te.cache; $(AUTOCONF))
$(info INFO: running autoreconf for new version string: $(_curr-ver))
dummy := $(shell rm -rf autom4te.cache; PATH=`pwd`/tests:$$PATH; autoreconf -i)
endif
endif
endif

View File

@ -30,9 +30,7 @@ You can get a copy of the source repository like this:
The next step is to generate files like configure and Makefile.in:
$ cd autoconf
$ aclocal -I m4
$ automake
$ autoconf
$ ( PATH=`pwd`/tests:$PATH; autoreconf -vi )
And there you are! Just

View File

@ -36,8 +36,6 @@ then
elif test -d .git \
&& v=`git describe --abbrev=4 HEAD 2>/dev/null` \
&& case $v in
# FIXME: remove this after v6.10.
COREUTILS-[0-9]*) v=`echo "$v" | sed 's/^COREUTILS-//;s/_/./g'` ;;
v[0-9]*) ;;
*) (exit 1) ;;
esac
@ -50,7 +48,9 @@ fi
v=`echo "$v" |sed 's/^v//'`
# Don't declare a version "dirty" merely because a time stamp has changed.
git-status > /dev/null 2>&1
dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty=
case "$dirty" in
'') ;;