This is the mail archive of the glibc-cvs@sourceware.org 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]

GNU C Library master sources branch master updated. glibc-2.26.9000-983-g0c4fe28


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  0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce (commit)
      from  174edbde7e4eb056cc273127e045404067682b57 (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=0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce

commit 0c4fe28d7aaca041292d2db0a1a9ed4b64a7ddce
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 15 14:20:52 2017 +0000

    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.

diff --git a/ChangeLog b/ChangeLog
index cc4e299..83c4d07 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 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): %.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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog   |    7 +++++++
 po/Makefile |   21 ---------------------
 2 files changed, 7 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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