[Groonga-commit] groonga/groonga [master] [doc] support mo generation in each locale directory.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 5月 18日 (水) 11:04:11 JST


Kouhei Sutou	2011-05-18 02:04:11 +0000 (Wed, 18 May 2011)

  New Revision: 872406f7726f8a361e1ec13cea70d3df1ee9ba4c

  Log:
    [doc] support mo generation in each locale directory.

  Added files:
    build/makefiles/gettext.mk
    doc/locale/ja/LC_MESSAGES/Makefile.am

  Added: build/makefiles/gettext.mk (+57 -0) 100644
===================================================================
--- /dev/null
+++ build/makefiles/gettext.mk    2011-05-18 02:04:11 +0000 (479329d)
@@ -0,0 +1,57 @@
+update: $(mo_files)
+
+.po.mo:
+	msgfmt -o $@ $<
+
+NULL =
+
+# (cd ../../doc; echo "po_files = \\"; find pot -type f -name '*.pot' | sort | sed -e 's,^pot/,\t,g' -e 's,pot$,po \\,'; echo -n "\t\$(NULL)")
+po_files =					\
+	characteristic.po			\
+	command_version.po			\
+	commands.po				\
+	commands_not_implemented.po		\
+	developer.po				\
+	execfile.po				\
+	expr.po					\
+	functions.po				\
+	grnslap.po				\
+	grntest.po				\
+	http.po					\
+	index.po				\
+	install.po				\
+	limitations.po				\
+	news.po					\
+	process.po				\
+	pseudo_column.po			\
+	reference.po				\
+	spec.po					\
+	troubleshooting.po			\
+	tutorial.po				\
+	type.po
+
+# (cd ../../doc; echo "mo_files = \\"; find pot -type f -name '*.pot' | sort | sed -e 's,^pot/,\t,g' -e 's,pot$,mo \\,'; echo -n "\t\$(NULL)")
+mo_files = \
+	characteristic.mo \
+	command_version.mo \
+	commands.mo \
+	commands_not_implemented.mo \
+	developer.mo \
+	execfile.mo \
+	expr.mo \
+	functions.mo \
+	grnslap.mo \
+	grntest.mo \
+	http.mo \
+	index.mo \
+	install.mo \
+	limitations.mo \
+	news.mo \
+	process.mo \
+	pseudo_column.mo \
+	reference.mo \
+	spec.mo \
+	troubleshooting.mo \
+	tutorial.mo \
+	type.mo \
+	$(NULL)

  Added: doc/locale/ja/LC_MESSAGES/Makefile.am (+1 -0) 100644
===================================================================
--- /dev/null
+++ doc/locale/ja/LC_MESSAGES/Makefile.am    2011-05-18 02:04:11 +0000 (1457e83)
@@ -0,0 +1 @@
+include $(abs_top_srcdir)/build/makefiles/gettext.mk




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