This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.24-651-g56009aa
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 20 Jan 2017 07:04:26 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-651-g56009aa
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 56009aa33c735d66f19d8382b6ef7c6addc24ec0 (commit)
from fe3f0488daaec2fb8c3af181b6e8e4567ba2cf61 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=56009aa33c735d66f19d8382b6ef7c6addc24ec0
commit 56009aa33c735d66f19d8382b6ef7c6addc24ec0
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Fri Jan 20 12:24:46 2017 +0530
Add target to incorporate translations from translations.org
Add a convenience target for maintainers to download and incorporate
translation updates from translations.org. Invoke as follows:
make -r PARALLELMFLAGS="" -C ../po objdir=`pwd` update-translations
similar to generating libc.pot.
* po/Makefile (update-translations): New target.
diff --git a/ChangeLog b/ChangeLog
index 896231a..d7c2d2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
+
+ * po/Makefile (update-translations): New target.
+
2017-01-19 Joseph Myers <joseph@codesourcery.com>
[BZ #21061]
diff --git a/po/Makefile b/po/Makefile
index 302c3b6..122db23 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -109,3 +109,14 @@ linguas: $(pofiles:$(podir)/%=%)
linguas.mo: $(pofiles:$(podir)/%.po=%.mo)
endif
+
+# Update translations from the translation project.
+TRANSLATIONS_URL = https://translationproject.org/latest/libc
+WGET = wget
+
+update-translations:
+ $(WGET) -qO- $(TRANSLATIONS_URL) | sed -n 's|.*href="\([^"]\+po\)".*|\1|p' | \
+ while read f; do \
+ $(WGET) -O $(objdir)/$$f-tmp $(TRANSLATIONS_URL)/$$f && \
+ mv -f $(objdir)/$$f-tmp $$f; \
+ done
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
po/Makefile | 11 +++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources