Skip to content

Commit

Permalink
Merge branch 'db/doc-custom-xmlto' into maint
Browse files Browse the repository at this point in the history
* db/doc-custom-xmlto:
  Documentation/Makefile: Allow custom XMLTO binary
  • Loading branch information
gitster committed Oct 17, 2012
2 parents 7703477 + dd4f307 commit 19100d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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) $@+ $@ && \
Expand Down

0 comments on commit 19100d3

Please sign in to comment.