path: root/Makefile
diff options
authorJunio C Hamano <>2007-06-15 05:20:16 (GMT)
committerJunio C Hamano <>2007-06-16 08:11:16 (GMT)
commit4c7100a9f438c281c18c800b450ea12045d22d62 (patch)
tree054f5eabcf3e3102a34126d81c4ec83d7da4c380 /Makefile
parent66e41f7b9912b3c9231c6577891eb12886d430e3 (diff)
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 <>
Diffstat (limited to 'Makefile')
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 862c268..50e7bb3 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,8 @@ all::
# Define USE_STDEV below if you want git to care about the underlying device
# change being considered an inode change from the update-cache perspective.
+# Define ASCIIDOC8 if you want to format documentation with AsciiDoc 8
# Define NO_PERL_MAKEMAKER if you cannot use Makefiles generated by perl's
# MakeMaker (e.g. using ActiveState under Cygwin).
@@ -689,6 +691,10 @@ ifndef V
+ifdef ASCIIDOC8
+ export ASCIIDOC8
# Shell quote (do not use $(call) to accommodate ancient setups);
SHA1_HEADER_SQ = $(subst ','\'',$(SHA1_HEADER))