diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-12-15 14:20:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-12-15 14:20:52 +0000 |
commit | 0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce (patch) | |
tree | 50c773ef8684dc53569aa807ebed944b01cbadf5 /po/Makefile | |
parent | 174edbde7e4eb056cc273127e045404067682b57 (diff) | |
download | glibc-0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce.tar.gz glibc-0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce.tar.xz glibc-0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce.zip |
Remove old po/ code for copying .po files from shared directory.
po/Makefile has both old code for copying .po files from a shared directory /com/share/ftp/gnu/po/maint/glibc (presumably once present on some GNU server), and new code for downloading them from the Translation Project. This patch removes the old code, leading only the new code. Tested for x86_64. * po/Makefile (linguas): Remove rule and dependencies. (linguas.mo): Likewise. (.PHONY): Do not depend on linguas and linguas.mo. (podir): Remove variable. (pofiles): Likewise. [$(pofiles)] (%.po): Remove rule.
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/po/Makefile b/po/Makefile index 122db23591..1fdce17fa9 100644 --- a/po/Makefile +++ b/po/Makefile @@ -86,30 +86,9 @@ libc.pot.files: FORCE # Install the message object files as libc.po in the language directory. $(mo-installed): %.mo $(+force); $(do-install) || exit 0 -.PHONY: linguas linguas.mo -linguas: $(ALL_LINGUAS:=.po) -linguas.mo: $(ALL_LINGUAS:=.mo) - realclean: rm -f $(ALL_LINGUAS:=.mo) -# Copy the PO files from the translation coordinator's repository. - -podir = /com/share/ftp/gnu/po/maint/glibc - -pofiles := $(wildcard $(podir)/*.po) - -ifneq (,$(pofiles)) - -%.po: $(podir)/%.po - cp -f $< $@ - chmod 444 $@ - -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 |