]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Avoid certificate checks when getting PO files from translationproject.org
authorPaul Smith <psmith@gnu.org>
Sat, 17 Sep 2011 01:45:09 +0000 (01:45 +0000)
committerPaul Smith <psmith@gnu.org>
Sat, 17 Sep 2011 01:45:09 +0000 (01:45 +0000)
ChangeLog
maintMakefile

index 53ea48167775e95800697161dde3e32e7eda2446..2345823e13d46554f619096545ba1e6f1e6c1e9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-16  Paul Smith  <psmith@gnu.org>
+
+       * maintMakefile (do-po-update): Apparently we have to avoid
+       certificate checks on the http://translationproject.org site now.
+
 2011-09-12  Paul Smith  <psmith@gnu.org>
 
        * read.c (eval): Ensure exported variables are defined in the
index 11a76af7c1acabb27a8a40f65ce09ec4c10399c2..acdf58ec6556613f3a43592674ea33e7604910ac 100644 (file)
@@ -138,6 +138,8 @@ move_if_change =  if test -r $(target) && cmp -s $(target).t $(target); then \
 #   http://translation.sf.net/maint/
 #   ftp://tiger.informatik.hu-berlin.de/pub/po/maint/
 
+po_wget_flags =        --recursive --level=1 --no-directories --no-parent \
+               --no-check-certificate
 po_repo = http://translationproject.org/latest/$(PACKAGE)
 .PHONY: do-po-update po-update
 do-po-update:
@@ -145,7 +147,7 @@ do-po-update:
          && rm -rf "$$tmppo" \
          && mkdir "$$tmppo" \
          && (cd "$$tmppo" \
-               && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) \
+               && $(WGET) $(po_wget_flags) -A '*.po' $(po_repo)) \
          && cp "$$tmppo"/*.po $(top_srcdir)/po && rm -rf "$$tmppo"
        cd po && $(MAKE) update-po
        $(MAKE) po-check