[Groonga-mysql-commit] mroonga/mroonga [master] add update-po shortcut.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 28日 (月) 00:07:31 JST


Kouhei Sutou	2011-11-27 15:07:31 +0000 (Sun, 27 Nov 2011)

  New Revision: 8ef4abf3004ed8ab65f22e9aa5d99f2f7eb72660

  Log:
    add update-po shortcut.

  Modified files:
    Makefile.am

  Modified: Makefile.am (+7 -0)
===================================================================
--- Makefile.am    2011-11-27 14:53:41 +0000 (b5b64b0)
+++ Makefile.am    2011-11-27 15:07:31 +0000 (47a34ea)
@@ -1,5 +1,7 @@
 AUTOMAKE_OPTIONS = 1.9.7
 
+LOCALES = ja
+
 AM_CPPFLAGS = $(MYSQL_INC) $(GROONGA_CFLAGS) $(MYSQL_VERSION_CFLAGS)
 ACLOCAL_AMFLAGS = $$ACLOCAL_ARGS
 
@@ -61,6 +63,11 @@ update-latest-release:
 	  packages/rpm/centos/mysql-groonga.spec.in		\
 	  packages/debian/changelog
 
+update-po:
+	@for lang in $(LOCALES); do						\
+	  (cd $(top_srcdir)/doc/locale/$$lang/LC_MESSAGES && make update)	\
+	done
+
 update-document:
 	@if test -z "$(MROONGA_GITHUB_COM_PATH)"; then			\
 	  echo "\$$(MROONGA_GITHUB_COM_PATH) is missing";		\




Groonga-mysql-commit メーリングリストの案内
Back to archive index