From: Ben Pfaff Date: Sun, 4 Dec 2016 21:29:57 +0000 (-0800) Subject: po: Add po-update rule for updating all translations. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d717325104bd4c12f717681600e93d3758b233;p=pspp po: Add po-update rule for updating all translations. --- diff --git a/po/automake.mk b/po/automake.mk index 98f9685313..0f856286d3 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -94,3 +94,11 @@ po_CLEAN: rm -f $(POFILES); \ fi CLEAN_LOCAL += po_CLEAN + +WGET = wget +po-update: + cd $(srcdir) && rm -f $(POFILES) + cd $(srcdir)/po && \ + for po in `echo '$(POFILES)' | sed 's,po/,,g'`; do \ + $(WGET) https://translationproject.org/latest/pspp/$$po; \ + done