[Groonga-commit] groonga/groonga [master] [doc][po] fix suffix.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 5月 9日 (月) 00:44:10 JST


Kouhei Sutou	2011-05-08 15:44:10 +0000 (Sun, 08 May 2011)

  New Revision: a84e29d62398a66d6f5dfc8a84e7f38acac07cb9

  Log:
    [doc][po] fix suffix.

  Modified files:
    doc/Makefile.am

  Modified: doc/Makefile.am (+6 -5)
===================================================================
--- doc/Makefile.am    2011-05-08 15:24:13 +0000 (99cf8c8)
+++ doc/Makefile.am    2011-05-08 15:44:10 +0000 (b368a8d)
@@ -237,11 +237,12 @@ add-language: gettext
 	   echo "e.g.: make add-language LANGUAGE=ja";	\
            false)
 	mkdir -p $(srcdir)/po/$(LANGUAGE)
-	for pot in $(BUILDDIR)/pot/*.pot; do			\
-	  msginit						\
-	    --input "$$pot"					\
-	    --output $(srcdir)/po/$(LANGUAGE)/`basename \$$pot`	\
-	    --locale=$(LANGUAGE);				\
+	for pot in $(BUILDDIR)/pot/*.pot; do		\
+	  po=`basename \$$pot | sed s/pot/po/`;		\
+	  msginit					\
+	    --input "$$pot"				\
+	    --output $(srcdir)/po/$(LANGUAGE)/$${po}	\
+	    --locale=$(LANGUAGE);			\
 	done
 
 if ENABLE_DOCUMENT




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