summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--po/Makefile21
2 files changed, 7 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index cc4e2996ab..83c4d07948 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-12-15  Joseph Myers  <joseph@codesourcery.com>
 
+	* 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.
+
 	* sysdeps/sparc/sparc32/Makefile
 	($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
 	start-of-line whitespace in argument of echo.
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