[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: update files from CVS Automake
From: |
Akim Demaille |
Subject: |
FYI: update files from CVS Automake |
Date: |
Wed, 20 Aug 2003 09:42:51 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
(autom4te-update): New.
* Makefile.cfg (update): Bind autom4te-update.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.am,v
retrieving revision 1.89
diff -u -u -r1.89 Makefile.am
--- Makefile.am 19 Aug 2003 08:12:18 -0000 1.89
+++ Makefile.am 20 Aug 2003 06:28:44 -0000
@@ -1,7 +1,7 @@
## Process this file with automake to create Makefile.in. -*-Makefile-*-
## Makefile for Autoconf.
-## Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+## Copyright (C) 1999, 2000, 2001, 2002, 2003 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
@@ -54,3 +54,32 @@
maintainer-check: maintainer-check-tests
maintainer-check-tests:
cd tests && make maintainer-check
+
+
+## ----------------------------------- ##
+## Updating Perl files from Automake. ##
+## ----------------------------------- ##
+
+## 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'
+autom4te_files = \
+ Autom4te/Configure_ac.pm \
+ Autom4te/Channels.pm \
+ Autom4te/FileUtils.pm
+
+autom4te-update:
+ rm -rf Fetchdir > /dev/null 2>&1
+ mkdir Fetchdir; mkdir Fetchdir/Autom4te
+## If a get fails then that is a problem.
+ (cd Fetchdir && \
+ $(WGET)
$(automake_cvsweb)/lib/Automake/Configure_ac.pm?$(automake_cvsargs) -O
Autom4te/Configure_ac.pm; \
+ $(WGET) $(automake_cvsweb)/lib/Automake/Channels.pm?$(automake_cvsargs)
-O Autom4te/Channels.pm; \
+ $(WGET)
$(automake_cvsweb)/lib/Automake/FileUtils.pm?$(automake_cvsargs) -O
Autom4te/FileUtils.pm; \
+ :)
+ perl -pi -e 's/Automake::/Autom4te::/g' Fetchdir/Autom4te/*.pm
+ for file in $(autom4te_files); do \
+ $(move_if_change) Fetchdir/$$file $(srcdir)/lib/$$file; \
+ done
Index: Makefile.cfg
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.cfg,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile.cfg
--- Makefile.cfg 19 Aug 2003 08:12:18 -0000 1.1
+++ Makefile.cfg 20 Aug 2003 06:28:44 -0000
@@ -31,4 +31,5 @@
$(srcdir)/config/missing \
$(srcdir)/config/mkinstalldirs
-local_updates = wget-update cvs-update
+# autom4te-update is defined in Makefile.am.
+local_updates = wget-update cvs-update autom4te-update
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: update files from CVS Automake,
Akim Demaille <=