Now that Automake uses git as well, fetching from its repo needs fixing
in git Autoconf.  I've applied the patch below to this end.

Next, I will adjust the License notices in Automake to look like those
in Autoconf (forgot the URL pointer), apply the FileUtils.pm change from
the whitespace patch series to Automake, and fetch that into Autoconf.
Then, apply the finished Autoconf whitespace patch series.  :-)

Cheers,
Ralf

    * Makefile.am (autom4te-update): Rewrite for git.

diff --git a/Makefile.am b/Makefile.am
index 43c4ab5..cfe88a1 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


Reply via email to