Browse Source

Documentation/Makefile: Allow custom XMLTO binary

Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Dave Borowitz 12 years ago committed by Junio C Hamano
parent
commit
dd4f307561
  1. 5
      Documentation/Makefile

5
Documentation/Makefile

@ -44,9 +44,10 @@ man5dir=$(mandir)/man5 @@ -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 @@ -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) $@+ $@ && \

Loading…
Cancel
Save