Code

Documentation: unbreak user-manual.
authorJunio C Hamano <junkio@cox.net>
Tue, 27 Mar 2007 06:45:23 +0000 (23:45 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 23:48:50 +0000 (16:48 -0700)
The previous one broke generated xml files for anything but manpages,
as it took the header for manpage unconditionally.  This fixes it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/asciidoc.conf

index a86c31d00abc6cdb9f9ea24a8d4c00cdbfd18a9d..fa7dc94845be148dd85dfc2265dade2093a6c11f 100644 (file)
@@ -31,6 +31,7 @@ ifdef::backend-docbook[]
 {title#}</example>
 endif::backend-docbook[]
 
+ifdef::doctype-manpage[]
 ifdef::backend-docbook[]
 [header]
 template::[header-declarations]
@@ -47,6 +48,7 @@ template::[header-declarations]
   <refpurpose>{manpurpose}</refpurpose>
 </refnamediv>
 endif::backend-docbook[]
+endif::doctype-manpage[]
 
 ifdef::backend-xhtml11[]
 [gitlink-inlinemacro]