summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-10-08 09:33:48 -0600
committerEric Blake <ebb9@byu.net>2008-10-08 09:43:25 -0600
commit5e7bc716e5670e929b0074ead8e4bd3b745a1ff8 (patch)
tree7ec7c6a2d5af17fccec672ed7d2f99c026710c11
parent734abde3de165b9031bac6345bbca0314c314dcb (diff)
downloadautoconf-5e7bc716e5670e929b0074ead8e4bd3b745a1ff8.tar.gz
Resync from gnulib.
* cfg.mk (cvs_executable_files, cvs_files): Rewrite... (fetch): ...into new target. (executable-update): Delete, now that it is unused. * maint.mk (update, local_updates, cvs_files, gnulib_repo) (wget-update, cvs-update): Likewise. * HACKING (Update the foreign files): Document new procedure. * GNUmakefile: Resync from upstream, via new 'make fetch'. * build-aux/config.guess: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r--ChangeLog12
-rw-r--r--GNUmakefile10
-rw-r--r--HACKING6
-rwxr-xr-xbuild-aux/config.guess7
-rw-r--r--cfg.mk51
-rw-r--r--maint.mk38
6 files changed, 47 insertions, 77 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ca7c767..61c6c394 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-10-08 Eric Blake <ebb9@byu.net>
+
+ Resync from gnulib.
+ * cfg.mk (cvs_executable_files, cvs_files): Rewrite...
+ (fetch): ...into new target.
+ (executable-update): Delete, now that it is unused.
+ * maint.mk (update, local_updates, cvs_files, gnulib_repo)
+ (wget-update, cvs-update): Likewise.
+ * HACKING (Update the foreign files): Document new procedure.
+ * GNUmakefile: Resync from upstream, via new 'make fetch'.
+ * build-aux/config.guess: Likewise.
+
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Remove.
diff --git a/GNUmakefile b/GNUmakefile
index 4b4cf15c..7816416e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -71,17 +71,21 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
# warn when installing a version string that is out of date; the user
# should run 'autoreconf' (or something like 'make distcheck') to
# fix the version, 'make all' to propagate it, then 'make install'.
- $(info WARNING: version string $(VERSION) is out of date; run autoreconf -f to fix it)
+ $(info WARNING: version string $(VERSION) is out of date;)
+ $(info run '$(MAKE) version' to fix it)
else
$(info INFO: running autoreconf for new version string: $(_curr-ver))
- _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
- && $(_autoreconf))
+ _dummy := $(shell $(MAKE) $(AM_MAKEFLAGS) version)
endif
endif
endif
endif
endif
+.PHONY: version
+version:
+ cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf)
+
else
.DEFAULT_GOAL := abort-due-to-no-makefile
diff --git a/HACKING b/HACKING
index 27848e51..c7adfa46 100644
--- a/HACKING
+++ b/HACKING
@@ -101,10 +101,8 @@ environment, such as your GPG key and the location of a gnulib
checkout.
** Update the foreign files
-Running `make update' in the top level should make it all for you.
-FIXME - this is broken as of 2.62, now that most upstream files are
-stored in git rather than CVS. Until this is fixed, manually copy the
-files listed in cfg.mk from a gnulib git checkout.
+Running `make fetch' in the top level should grab it all for you; you
+should check the results before committing them in git.
** Set the version number
Update the version number in NEWS (with version, date, and release
diff --git a/build-aux/config.guess b/build-aux/config.guess
index c7607c74..f0f0d363 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
-timestamp='2008-04-14'
+timestamp='2008-09-28'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -796,7 +796,7 @@ EOF
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
- EM64T | authenticamd)
+ EM64T | authenticamd | genuineintel)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -935,6 +935,9 @@ EOF
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
diff --git a/cfg.mk b/cfg.mk
index 54da291c..c4bbb4fe 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -38,42 +38,33 @@ url_dir_list = \
# The GnuPG ID of the key used to sign the tarballs.
gpg_key_ID = F4850180
-# Files to update automatically.
-cvs_executable_files = \
- $(srcdir)/build-aux/announce-gen \
- $(srcdir)/build-aux/config.guess \
- $(srcdir)/build-aux/config.sub \
- $(srcdir)/build-aux/elisp-comp \
- $(srcdir)/build-aux/git-version-gen \
- $(srcdir)/build-aux/gnupload \
- $(srcdir)/build-aux/install-sh \
- $(srcdir)/build-aux/mdate-sh \
- $(srcdir)/build-aux/missing \
- $(srcdir)/build-aux/vc-list-files
-
-cvs_files = $(cvs_executable_files) \
- $(srcdir)/build-aux/texinfo.tex \
- $(srcdir)/doc/fdl.texi \
- $(srcdir)/doc/make-stds.texi \
- $(srcdir)/doc/standards.texi \
- $(srcdir)/GNUmakefile
-
-# Keep executables executable. Make it robust to parallel makes.
-local_updates = executable-update
+# The local directory containing the checked-out copy of gnulib used in this
+# release.
+gnulib_dir = '$(abs_srcdir)'/../gnulib
-.PHONY: executable-update
-# autom4te-update is defined in Makefile.am.
-executable-update: wget-update cvs-update autom4te-update
- chmod a+x $(cvs_executable_files)
+# Update files from gnulib.
+.PHONY: fetch
+fetch:
+ cp $(gnulib_dir)/build-aux/announce-gen $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/config.guess $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/config.sub $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/elisp-comp $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/git-version-gen $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/gnupload $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/install-sh $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/mdate-sh $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/missing $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/vc-list-files $(srcdir)/build-aux
+ cp $(gnulib_dir)/build-aux/texinfo.tex $(srcdir)/build-aux
+ cp $(gnulib_dir)/doc/fdl.texi $(srcdir)/doc
+ cp $(gnulib_dir)/doc/make-stds.texi $(srcdir)/doc
+ cp $(gnulib_dir)/doc/standards.texi $(srcdir)/doc
+ cp $(gnulib_dir)/top/GNUmakefile $(srcdir)
# Tests not to run.
local-checks-to-skip ?= \
changelog-check sc_unmarked_diagnostics
-# The local directory containing the checked-out copy of gnulib used in this
-# release. For now, used solely for generating the web-manual.
-gnulib_dir = '$(abs_srcdir)'/../gnulib
-
.PHONY: web-manual
web-manual:
@cd $(srcdir)/doc ; \
diff --git a/maint.mk b/maint.mk
index 7149adf8..227720e8 100644
--- a/maint.mk
+++ b/maint.mk
@@ -549,44 +549,6 @@ www-gnu = http://www.gnu.org
# Use mv, if you don't have/want move-if-change.
move_if_change ?= move-if-change
-
-# --------------------- #
-# Updating everything. #
-# --------------------- #
-
-.PHONY: update
-local_updates ?= cvs-update
-update: $(local_updates)
-
-
-# -------------------------- #
-# Updating GNU build tools. #
-# -------------------------- #
-
-cvs_files ?= \
- $(srcdir)/build-aux/depcomp \
- $(srcdir)/build-aux/install-sh \
- $(srcdir)/build-aux/missing
-gnulib_repo=:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnulib
-.PHONY: wget-update
-wget-update: $(get-targets)
-
-.PHONY: cvs-update
-cvs-update:
- fail=; \
- for f in $(cvs_files) dummy; do \
- test $$f = dummy && continue; \
- test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \
- cvs diff $$f > /dev/null \
- || { echo "*** $$f is locally modified; skipping it" 1>&2; \
- fail=yes; continue; }; \
- file=$$(expr "X$$f" : 'X$(srcdir)/\(.*\)'); \
- echo checking out $$file...; \
- $(CVS) -d $(gnulib_repo) co -p gnulib/$$file >$$f.t \
- && $(move_if_change) $$f.t $$f; \
- done; \
- test "$$fail" && exit 1
-
emit_upload_commands:
@echo =====================================
@echo =====================================