[lxc-devel] [PATCH] doc: Japanese man pages is not generated when docbook-utils is used

Stéphane Graber stgraber at ubuntu.com
Wed Sep 25 13:50:48 UTC 2013


On Wed, Sep 25, 2013 at 07:36:30PM +0900, KATOH Yasufumi wrote:
> 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>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  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
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130925/db91d545/attachment.pgp>


More information about the lxc-devel mailing list