diff options
author | Jim Meyering <jim@meyering.net> | 2001-05-24 20:10:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-05-24 20:10:31 +0000 |
commit | 0473003f8a0a23f5981db94d98b0ea0ea1a15dda (patch) | |
tree | de6fad1dce81ecbfd21c8810467d6078298d9f49 /Makefile.maint | |
parent | 756e2026fc84de51d8de58e2d7163719a8ad50c3 (diff) | |
download | coreutils-0473003f8a0a23f5981db94d98b0ea0ea1a15dda.tar.xz |
(wget-update): Have wget write to a temporary file,
and replace the original only if wget succeeds.
Also get ansi2nkr.c.
Diffstat (limited to 'Makefile.maint')
-rw-r--r-- | Makefile.maint | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile.maint b/Makefile.maint index 2de941ddc..fa83bb308 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -160,13 +160,17 @@ automake_repo=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/automake .PHONY: wget-update wget-update: $(WGET) $(ftp-gnu)/texinfo/texinfo.tex -O $(srcdir)/doc/texinfo.tex - for f in config.guess config.sub; do \ - $(WGET) $(ftp-gnu)/config/$$f -O $(srcdir)/$$f; \ + for f in config.guess config.sub; do \ + $(WGET) $(ftp-gnu)/config/$$f -O $(srcdir)/$$f.t \ + && mv $$f.t $$f; \ done - for f in depcomp missing; do \ - echo checking out $$f...; \ - cvs -d $(automake_repo) co -p automake/lib/$$f > t$$$$ \ - && mv t$$$$ $$f; \ + f=ansi2knr.c; \ + $(WGET) ftp://ftp.cs.wisc.edu/ghost/$$f -O $(srcdir)/src/$$f.f \ + && mv $$f.t $$f + for f in depcomp missing; do \ + echo checking out $$f...; \ + cvs -d $(automake_repo) co -p automake/lib/$$f > t$$$$ \ + && mv t$$$$ $$f; \ done define emit-rsync-commands |