[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Makefile.maint and po files
From: |
Akim Demaille |
Subject: |
FYI: Makefile.maint and po files |
Date: |
29 Aug 2001 12:55:59 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) |
Index: ChangeLog
from Akim Demaille <address@hidden>
* Makefile.maint (do-po-update): Wget refuses to overwrite files:
download in a tmp dir.
Index: Makefile.maint
===================================================================
RCS file: /cvs/autoconf/Makefile.maint,v
retrieving revision 1.15
diff -u -u -r1.15 Makefile.maint
--- Makefile.maint 2001/08/28 08:55:06 1.15
+++ Makefile.maint 2001/08/29 10:47:55
@@ -60,8 +60,11 @@
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 @@
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
- FYI: Makefile.maint and po files,
Akim Demaille <=