aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-14 22:20:16 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-16 01:11:16 -0700
commit4c7100a9f438c281c18c800b450ea12045d22d62 (patch)
tree054f5eabcf3e3102a34126d81c4ec83d7da4c380 /Documentation/Makefile
parent66e41f7b9912b3c9231c6577891eb12886d430e3 (diff)
downloadgit-4c7100a9f438c281c18c800b450ea12045d22d62.tar.gz
git-4c7100a9f438c281c18c800b450ea12045d22d62.tar.xz
Documentation: adjust to AsciiDoc 8
It turns out that the attribute definition we have had for a long time to hide "^" character from AsciiDoc 7 was not honored by AsciiDoc 8 even under "-a asciidoc7compatible" mode. There is a similar breakage with the "compatible" mode with + characters. The double colon at the end of definition list term needs to be attached to the term, without a whitespace. After this minimum fixups, AsciiDoc 8 (I used 8.2.1 on Debian) with compatibility mode seems to produce reasonably good results. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 9cef4806d..4edf788c3 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -37,6 +37,9 @@ man7dir=$(mandir)/man7
ASCIIDOC=asciidoc
ASCIIDOC_EXTRA =
+ifdef ASCIIDOC8
+ASCIIDOC_EXTRA += -a asciidoc7compatible
+endif
INSTALL?=install
DOC_REF = origin/man