projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62f8c51
)
po: Add po-update rule for updating all translations.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 4 Dec 2016 21:29:57 +0000
(13:29 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 4 Dec 2016 21:29:57 +0000
(13:29 -0800)
po/automake.mk
patch
|
blob
|
history
diff --git
a/po/automake.mk
b/po/automake.mk
index 98f9685313533c8a317c4f80ebcd755476378387..0f856286d3a8dbbd6f51a758cc65d84fdc6c3d15 100644
(file)
--- 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