[lxc-devel] [PATCH] doc: Japanese man pages is not generated when docbook-utils is used
KATOH Yasufumi
karma at jazz.email.ne.jp
Wed Sep 25 10:36:30 UTC 2013
Character encoding of Japanese man pages is UTF-8. But docbook-utils
can't treat it (and don't have --encoding option that use in
Makefile). So change to Japanese man pages is not generated when
docbook-utils is used.
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
configure.ac | 1 +
doc/Makefile.am | 9 +++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index a523583..092a67d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,7 @@ if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
AC_SUBST(db2xman)
fi
AM_CONDITIONAL([ENABLE_DOCBOOK], [test "x$db2xman" != "x"])
+AM_CONDITIONAL([USE_DOCBOOK2X], [test "x$db2xman" != "xdocbook2man"])
if test "x$db2xman" = "xdocbook2man"; then
docdtd="\"-//Davenport//DTD DocBook V3.0//EN\""
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f2a106b..1e83f8a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,10 @@
-SUBDIRS = examples rootfs ja
-DIST_SUBDIRS = examples rootfs ja
+SUBDIRS = examples rootfs
+DIST_SUBDIRS = examples rootfs
+
+if USE_DOCBOOK2X
+SUBDIRS += ja
+DIST_SUBDIRS += ja
+endif
EXTRA_DIST = \
FAQ.txt
--
1.8.1.4
More information about the lxc-devel
mailing list