summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-03-26 23:45:23 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-28 16:48:50 -0700
commitd3d4fa86319a0bf97752e285907a8d34a2824951 (patch)
tree658d90fbcd04ab8a54b87f727037032c119e94bb /Documentation
parentDocumentation: Add version information to man pages (diff)
downloadtgif-d3d4fa86319a0bf97752e285907a8d34a2824951.tar.xz
Documentation: unbreak user-manual.
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/asciidoc.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index a86c31d00a..fa7dc94845 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -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]