From: Ralf Wildenhues Date: Sat, 8 Dec 2007 09:14:11 +0000 (+0100) Subject: * Makefile.am (autom4te-update): Rewrite for git. X-Git-Tag: v2.62~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3ffc74fd0070640e67bb1f4659de1b7c1f6bc8;p=thirdparty%2Fautoconf.git * Makefile.am (autom4te-update): Rewrite for git. --- diff --git a/ChangeLog b/ChangeLog index f997aff9..5c59f9f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-08 Ralf Wildenhues + + * Makefile.am (autom4te-update): Rewrite for git. + 2007-12-04 Ralf Wildenhues * doc/autoconf.texi (autom4te Invocation, Autom4te Cache): Fix typos. diff --git a/Makefile.am b/Makefile.am index 43c4ab52..cfe88a1d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,10 +65,8 @@ WGET = wget WGETFLAGS = -C off ## Fetch the latest versions of files we care about. -automake_cvsweb = \ - http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/automake -automake_cvsargs = \ - 'content-type=text/plain&cvsroot=automake' +automake_gitweb = \ + http://git.savannah.gnu.org/gitweb/?p=automake.git;a=blob_plain;hb=HEAD; autom4te_files = \ Autom4te/Configure_ac.pm \ Autom4te/Channels.pm \ @@ -80,8 +78,9 @@ autom4te-update: rm -f -r Fetchdir > /dev/null 2>&1 mkdir -p Fetchdir/Autom4te for file in $(autom4te_files); do \ + infile=`echo $$file | sed 's/Autom4te/Automake/g'`; \ $(WGET) $(WGET_FLAGS) \ - "$(automake_cvsweb)/lib/$file?$(automake_cvsargs)" \ + "$(automake_gitweb)f=lib/$$infile" \ -O "Fetchdir/$$file" || exit; \ done perl -pi -e 's/Automake::/Autom4te::/g' Fetchdir/Autom4te/*.pm