null+****@clear*****
null+****@clear*****
2011年 9月 26日 (月) 23:30:26 JST
Kouhei Sutou 2011-09-26 14:30:26 +0000 (Mon, 26 Sep 2011)
New Revision: 7b462a4e5f0e7727ed0438d50832edc1c22d2216
Log:
[doc] add init-locale shortcut.
Modified files:
build/makefiles/locale.am
doc/Makefile.am
doc/locale/Makefile.am
Modified: build/makefiles/locale.am (+2 -2)
===================================================================
--- build/makefiles/locale.am 2011-09-26 13:31:18 +0000 (04951f0)
+++ build/makefiles/locale.am 2011-09-26 14:30:26 +0000 (20eaa5b)
@@ -5,5 +5,5 @@ EXTRA_DIST =
include $(top_srcdir)/build/makefiles/sphinx.am
-update-po:
- cd LC_MESSAGES && $(MAKE) update
+init update-po:
+ cd LC_MESSAGES && $(MAKE) $@
Modified: doc/Makefile.am (+5 -0)
===================================================================
--- doc/Makefile.am 2011-09-26 13:31:18 +0000 (3ab78b0)
+++ doc/Makefile.am 2011-09-26 14:30:26 +0000 (268ff1e)
@@ -23,6 +23,11 @@ man pdf clean-html update-po:
(cd $${dir} && $(MAKE) $@); \
done
+init-locale:
+ for dir in $(SUBDIRS); do \
+ (cd $${dir} && $(MAKE) init); \
+ done
+
EXTRA_DIST = \
$(theme_files_relative_from_doc_dir) \
images.mk
Modified: doc/locale/Makefile.am (+1 -1)
===================================================================
--- doc/locale/Makefile.am 2011-09-26 13:31:18 +0000 (68d14b6)
+++ doc/locale/Makefile.am 2011-09-26 14:30:26 +0000 (9597196)
@@ -24,7 +24,7 @@ add:
a \ \ doc\/locale\/$(LOCALE)\/LC_MESSAGES\/Makefile" \
$(top_srcdir)/configure.ac
-man pdf clean-html update-po:
+man pdf clean-html update-po init:
for dir in $(SUBDIRS); do \
(cd $${dir} && $(MAKE) $@); \
done