subtree: honour USE_ASCIIDOCTOR when set
commitfdc1ad97c1fc31cb276a37c2e63ed88716b76269
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Wed, 28 Jun 2017 02:49:16 +0000 (27 21:49 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jun 2017 04:01:27 +0000 (27 21:01 -0700)
tree4e2fbf684fe4004620f0f7f923d85a27ad8b323f
parent95d67879735cfecfdd85f89e59d993c5b4de8835
subtree: honour USE_ASCIIDOCTOR when set

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>
contrib/subtree/Makefile