This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

2017-12-14  Joseph Myers  <>

	* po/Makefile (linguas): Remove rule and dependencies.
	( Likewise.
	(.PHONY): Do not depend on linguas and
	(podir): Remove variable.
	(pofiles): Likewise.
	[$(pofiles)] (%.po): Remove rule.

diff --git a/po/Makefile b/po/Makefile
index 122db23..1fdce17 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): $(+force); $(do-install) || exit 0
-.PHONY: linguas
-linguas: $(ALL_LINGUAS:=.po) $(
 	rm -f $(
-# 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)/%=%) $(pofiles:$(podir)/
 # Update translations from the translation project.
 WGET = wget

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]