@matheusbsbs / matheus-bagliano / commits / 26e47f2540
Fork 0

doc: consistently use ASCIIDOC_EXTRA

For all uses of $(ASCIIDOC) in Documentation/Makefile, supply the same options via $(ASCIIDOC_EXTRA). Signed-off-by: Eric Blake <ebb9@byu.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Blake committed Apr 28, 2009 at 06:28 UTC 26e47f25402ad51c6cfa1cd784a3431dd00deeb2
1 file changed +3 -3
Documentation/Makefile
+3 -3
@@ -240,7 +240,7 @@ $(MAN_HTML): %.html : %.txt
240 mv $@+ $@
241
242 user-manual.xml: user-manual.txt user-manual.conf
243 - $(QUIET_ASCIIDOC)$(ASCIIDOC) -b docbook -d book $<
243 + $(QUIET_ASCIIDOC)$(ASCIIDOC) $(ASCIIDOC_EXTRA) -b docbook -d book $<
244
245 technical/api-index.txt: technical/api-index-skel.txt \
246 technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
@@ -293,13 +293,13 @@ howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
293 mv $@+ $@
294
295 $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
296 - $(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 $*.txt
296 + $(QUIET_ASCIIDOC)$(ASCIIDOC) $(ASCIIDOC_EXTRA) -b xhtml11 $*.txt
297
298 WEBDOC_DEST = /pub/software/scm/git/docs
299
300 $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
301 $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
302 - sed -e '1,/^$$/d' $< | $(ASCIIDOC) -b xhtml11 - >$@+ && \
302 + sed -e '1,/^$$/d' $< | $(ASCIIDOC) $(ASCIIDOC_EXTRA) -b xhtml11 - >$@+ && \
303 mv $@+ $@
304
305 install-webdoc : html