From: Philippe Proulx Date: Thu, 7 Apr 2016 07:19:29 +0000 (-0400) Subject: doc/man/asciidoc.conf: add doctype-manpage conditions X-Git-Tag: v2.9.0-rc1~260 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4d8b3eae7b3227a93ee780b9242fd9ecf1d9a5e9;p=lttng-tools.git doc/man/asciidoc.conf: add doctype-manpage conditions Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/doc/man/asciidoc.conf b/doc/man/asciidoc.conf index d036e09a8..70bd7d68a 100644 --- a/doc/man/asciidoc.conf +++ b/doc/man/asciidoc.conf @@ -39,6 +39,7 @@ :escwc:=escwc # man macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [man-inlinemacro] {0%{target}} @@ -46,42 +47,55 @@ ifdef::backend-docbook[] {0#{target}{0}} {0#} endif::backend-docbook[] +endif::doctype-manpage[] # linkgenoptions macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [linkgenoptions-inlinemacro] {text} endif::backend-docbook[] +endif::doctype-manpage[] # option macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [option-inlinemacro] {opt} endif::backend-docbook[] +endif::doctype-manpage[] # no link option macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [nloption-inlinemacro] {opt} endif::backend-docbook[] +endif::doctype-manpage[] # lttng(1) general option macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [genoption-inlinemacro] {opt} endif::backend-docbook[] +endif::doctype-manpage[] # not macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [not-inlinemacro] NOT endif::backend-docbook[] +endif::doctype-manpage[] # escwc macro expansions +ifdef::doctype-manpage[] ifdef::backend-docbook[] [escwc-inlinemacro] \e* endif::backend-docbook[] +endif::doctype-manpage[] # configure XML man page header ifdef::doctype-manpage[]