This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add target to incorporate translations from translations.org
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 12 Jan 2017 13:59:28 +0000
- Subject: Re: [PATCH] Add target to incorporate translations from translations.org
- Authentication-results: sourceware.org; auth=none
- References: <1484214417-15443-1-git-send-email-siddhesh@sourceware.org>
On Thu, 12 Jan 2017, Siddhesh Poyarekar wrote:
> +# Update translations from the translation project.
> +TRANSLATIONS_URL = http://translationproject.org/latest/libc
Should preferably use https.
> +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 && \
Does this actually work? I'd expect you to need to use $(WGET) not plain
WGET.
--
Joseph S. Myers
joseph@codesourcery.com