doc/man/asciidoc.conf: add doctype-manpage conditions
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 7 Apr 2016 07:19:29 +0000 (03:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 May 2016 16:57:25 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/man/asciidoc.conf

index d036e09a880102997cd9940921fa129e42abeaf0..70bd7d68a7c061fb4ee4c0efe2b33f8db48f7e4f 100644 (file)
@@ -39,6 +39,7 @@
 :escwc:=escwc
 
 # man macro expansions
 :escwc:=escwc
 
 # man macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [man-inlinemacro]
 {0%{target}}
 ifdef::backend-docbook[]
 [man-inlinemacro]
 {0%{target}}
@@ -46,42 +47,55 @@ ifdef::backend-docbook[]
 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
 {0#</citerefentry>}
 endif::backend-docbook[]
 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
 {0#</citerefentry>}
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # linkgenoptions macro expansions
 
 # linkgenoptions macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [linkgenoptions-inlinemacro]
 {text}
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [linkgenoptions-inlinemacro]
 {text}
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # option macro expansions
 
 # option macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [option-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [option-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # no link option macro expansions
 
 # no link option macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [nloption-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [nloption-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # lttng(1) general option macro expansions
 
 # lttng(1) general option macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [genoption-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [genoption-inlinemacro]
 <literal>{opt}</literal>
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # not macro expansions
 
 # not macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [not-inlinemacro]
 NOT
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [not-inlinemacro]
 NOT
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # escwc macro expansions
 
 # escwc macro expansions
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [escwc-inlinemacro]
 <literal>\e*</literal>
 endif::backend-docbook[]
 ifdef::backend-docbook[]
 [escwc-inlinemacro]
 <literal>\e*</literal>
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 # configure XML man page header
 ifdef::doctype-manpage[]
 
 # configure XML man page header
 ifdef::doctype-manpage[]
This page took 0.028781 seconds and 5 git commands to generate.