subtree: honour USE_ASCIIDOCTOR when set
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Wed, 28 Jun 2017 02:49:16 +0000 (21:49 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jun 2017 04:01:27 +0000 (21:01 -0700)
Defining USE_ASCIIDOCTOR=1 when building Git uses asciidoctor over
asciidoc when generating DocBook and man page documentation. However,
the contrib/subtree module does not presently honour that flag.

This causes a build failure when asciidoc is not present on the build
system. Instead, adapt the main Documentation/Makefile logic to use
asciidoctor when requested.

Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found