]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
authorRobert Millan <rmh@aybabtu.com>
Fri, 27 Nov 2009 16:46:00 +0000 (16:46 +0000)
committerRobert Millan <rmh@aybabtu.com>
Fri, 27 Nov 2009 16:46:00 +0000 (16:46 +0000)
        * Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
        reliing on po/LINGUAS.
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
        (po/%.po): ... this.

ChangeLog
Makefile.in
po/ChangeLog
po/LINGUAS [deleted file]

index 4c6589a5d920e672be5c1d3ea46d10071dde4f93..a21569730d94aa8c1c0e8f7d23f9432c3b020093 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-11-27  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
+       reliing on po/LINGUAS.
+       ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
+       (po/%.po): ... this.
+
 2009-11-26 Felix Zielcke <fzielcke@z-51.de>
 
        * util/i386/efi/grub-mkimage.c: Include "progname.h".
index 7678ceee086da0c40d3fffbc69a063996173740b..43d2206630d06687c6e9e429e8120761ff12a19c 100644 (file)
@@ -45,7 +45,7 @@ XGETTEXT = @XGETTEXT@
 MSGMERGE = @MSGMERGE@
 MSGFMT = @MSGFMT@
 
-LINGUAS = $(shell tr '\n' ' ' < $(srcdir)/po/LINGUAS)
+LINGUAS = $(shell ls $(srcdir)/po/*.po | sed -e "s,.*/po/\(.*\)\.po$$,\1,")
 
 PACKAGE = @PACKAGE@
 PACKAGE_NAME = @PACKAGE_NAME@
@@ -478,7 +478,7 @@ $(srcdir)/po/$(PACKAGE).pot: po/POTFILES po/POTFILES-shell
        cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f $< --keyword=_ --keyword=N_
        cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
 
-$(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): po/$(PACKAGE).pot
+po/%.po: po/$(PACKAGE).pot
        $(MSGMERGE) -U $@ $^
 
 po/%.mo: po/%.po
index 6e537ccbf9e1b81ce6257e771c6e873cccaf8ca3..4069fb3159aed031b579e913112eb8ee8aab8d13 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-27  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * LINGUAS: Remove.
+
 2009-11-24  Robert Millan  <rmh.grub@aybabtu.com>
 
        * zh_CN.po: New file.
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644 (file)
index 9bc3e53..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ca
-id
-zh_CN