summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-09-17 01:45:09 +0000
committerPaul Smith <psmith@gnu.org>2011-09-17 01:45:09 +0000
commit6cacfcb6a698c0b18089a17140c65270980843ab (patch)
tree3dd29e4848369acf52f65470f7e9258da7208260 /maintMakefile
parent39fff0d4805f2f2b1cddce239c1dad2227ad690c (diff)
downloadmake-6cacfcb6a698c0b18089a17140c65270980843ab.tar.gz
Avoid certificate checks when getting PO files from translationproject.org
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/maintMakefile b/maintMakefile
index 11a76af7..acdf58ec 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -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