summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-21 12:48:00 +0000
committerJim Meyering <jim@meyering.net>2002-06-21 12:48:00 +0000
commitfff4a08af1ca35c07752ffd83ac4773582472661 (patch)
tree7a7c90d90418e0d3b2830c94ee800ea145bc52d3 /Makefile.maint
parent047ab72566b7c0df4c78c137612eaad1f94c05e4 (diff)
downloadcoreutils-fff4a08af1ca35c07752ffd83ac4773582472661.tar.xz
(wget-update): Checkout into config/.
Warn when skipping a file.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint16
1 files changed, 9 insertions, 7 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 975593233..9f9f7465d 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -273,9 +273,10 @@ move_if_change ?= move-if-change
# The following pseudo table associates a local directory and a URL
# with each of the files that belongs to some other package and is
# regularly updated from the specified URL.
-wget_files ?= $(srcdir)/config.guess $(srcdir)/config.sub \
+wget_files ?= $(srcdir)/config/config.guess \
+ $(srcdir)/config/config.sub \
$(srcdir)/src/ansi2knr.c \
- $(srcdir)/doc/texinfo.tex
+ $(srcdir)/config/texinfo.tex
get-targets = $(patsubst %, get-%, $(wget_files))
config.guess-url_prefix = $(ftp-gnu)/config/
@@ -299,11 +300,12 @@ $(get-targets):
automake_repo=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/automake
.PHONY: wget-update
wget-update: $(get-targets)
- for f in depcomp missing mkinstalldirs; do \
- test -f $$f || continue; \
- echo checking out $$f...; \
- $(CVS) -d $(automake_repo) co -p automake/lib/$$f > $$f.t \
- && $(move_if_change) $$f.t $$f; \
+ cd config && \
+ for f in depcomp missing mkinstalldirs; do \
+ test -f $$f || { echo "*** skipping $$f" 1>&2; continue; }; \
+ echo checking out $$f...; \
+ $(CVS) -d $(automake_repo) co -p automake/lib/$$f > $$f.t \
+ && $(move_if_change) $$f.t $$f; \
done
define emit-upload-commands