summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-09-25 10:39:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-25 10:39:48 -0700
commit8ccd4b68a7aceee11e12814e4ef0aee8ae5f958d (patch)
tree5c978e3e73f44804c8cf65d5572f0888c7beab02
parentMerge branch 'maint' (diff)
parentDocumentation/Makefile: Allow custom XMLTO binary (diff)
downloadtgif-8ccd4b68a7aceee11e12814e4ef0aee8ae5f958d.tar.xz
Merge branch 'db/doc-custom-xmlto'
* db/doc-custom-xmlto: Documentation/Makefile: Allow custom XMLTO binary
-rw-r--r--Documentation/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index cf5916fe8b..267dfe135d 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -44,9 +44,10 @@ man5dir=$(mandir)/man5
man7dir=$(mandir)/man7
# DESTDIR=
-ASCIIDOC=asciidoc
+ASCIIDOC = asciidoc
ASCIIDOC_EXTRA =
MANPAGE_XSL = manpage-normal.xsl
+XMLTO = xmlto
XMLTO_EXTRA =
INSTALL?=install
RM ?= rm -f
@@ -245,7 +246,7 @@ manpage-base-url.xsl: manpage-base-url.xsl.in
%.1 %.5 %.7 : %.xml manpage-base-url.xsl
$(QUIET_XMLTO)$(RM) $@ && \
- xmlto -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
+ $(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
%.xml : %.txt
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \