]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
README-hacking: Recommend running autoreconf -vi.
authorJim Meyering <meyering@redhat.com>
Sat, 27 Oct 2007 19:57:32 +0000 (21:57 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 28 Oct 2007 14:30:07 +0000 (15:30 +0100)
* GNUmakefile (dummy): Use autoreconf -i, with appropriate PATH,
so that we use just-built tools when they're available.
Suggestions from Ralf Wildenhues.

ChangeLog
GNUmakefile
README-hacking
build-aux/git-version-gen

index 96547a8c8c67bc1ff72ee030e74e093b2a2f30ad..4d8eee97eef2d6314a34aa30868c31ce0c366168 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 30fdcc42a6bb14732f74427566e8dc636cdfb803..8dcefc57051a0df5d4cd881f0d1d7c4d57f6d711 100644 (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
index cbf275457ebc06d59a275d08cbe11ae902017e5c..84bb9f99f1554325676bcaec93079bde38fb88d1 100644 (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
 
index 812ffb9e0edb3737d2931c8a4c75e75f743284a6..78635f54a4191595e4452cb4234a76feaa51c2dc 100755 (executable)
@@ -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
     '') ;;