Code

Fix INSTALL
authorHorst H. von Brand <vonbrand@inf.utfsm.cl>
Thu, 23 Aug 2007 09:15:50 +0000 (11:15 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Thu, 23 Aug 2007 09:15:50 +0000 (11:15 +0200)
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Update Makefile to also use autoreconf for `make configure`.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
INSTALL
Makefile

diff --git a/INSTALL b/INSTALL
index db7dcbf636f2f7b27c34170659740fb9c58bf5de..2a4d2e1244a46fc0999bf14f717758df7c43e4c1 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -8,7 +8,7 @@ available either in the tarballs or in the above repository in the branch named
 
 To install tig simply run:
 
-       $ sh autoconf.sh
+       $ autoreconf
        $ ./configure
        $ make install
 
index bc2e654a7212aa0473c83dab01c31f1a44bf5d73..da9a74304ef29e7cc580c4eb55e63c5eeae70e57 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,8 +42,7 @@ TARNAME       = tig-$(RPM_VERSION)-$(RPM_RELEASE)
 
 override CFLAGS += '-DTIG_VERSION="$(VERSION)"'
 
-AUTOHEADER ?= autoheader
-AUTOCONF ?= autoconf
+AUTORECONF ?= autoreconf
 ASCIIDOC ?= asciidoc
 XMLTO ?= xmlto
 DOCBOOK2PDF ?= docbook2pdf
@@ -107,8 +106,7 @@ rpm: dist
        rpmbuild -ta $(TARNAME).tar.gz
 
 configure: configure.ac
-       $(AUTOHEADER)
-       $(AUTOCONF)
+       $(AUTORECONF) -v
 
 # Maintainer stuff
 release-doc: