]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* Makefile.maint (do-po-update): Wget refuses to overwrite files:
authorAkim Demaille <akim@epita.fr>
Wed, 29 Aug 2001 10:49:47 +0000 (10:49 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 29 Aug 2001 10:49:47 +0000 (10:49 +0000)
download in a tmp dir.

ChangeLog
Makefile.maint

index 44801cf4daf793b3a603c6c5f8af3bdd1ab73101..f5b863d63b7e260128639646a1681f3e222f1704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-29  Akim Demaille  <akim@epita.fr>
+
+       * Makefile.maint (do-po-update): Wget refuses to overwrite files:
+       download in a tmp dir.
+
 2001-08-29  Akim Demaille  <akim@epita.fr>
 
        * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
index b56b1f84e1541343972774458312808f788e42c3..cd06976f3b538736dc1d96967df02bd17a874235 100644 (file)
@@ -60,8 +60,11 @@ move_if_change ?= move-if-change
 po_repo = http://www.iro.umontreal.ca/contrib/po/maint/$(PACKAGE)
 .PHONY: do-po-update po-update
 do-po-update:
-       cd $(srcdir)/po && wget -r -l1 -nd --no-parent -A '*.po' $(po_repo)
-       rm $(srcdir)/po/index.html
+       tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\
+       rm -rf $$tmppo && \
+       mkdir $$tmppo && \
+       (cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\
+       cp $$tmppo/*.po po
        cd po && $(MAKE) update-po
        $(MAKE) po-check
 
@@ -266,7 +269,7 @@ rel-check:
        md5_tmp=/tmp/rel-check-md5-$$$$; \
        set -e; \
        trap 'status=$$?; rm -f $$tarz $$md5_tmp; exit $$status' 0 1 2 3 15; \
-       wget -q --output-document=$$tarz $(url); \
+       $(WGET) -q --output-document=$$tarz $(url); \
        echo "$(md5)  -" > $$md5_tmp; \
        md5sum -c $$md5_tmp < $$tarz