Skip to content

Commit 26e47f2

Browse files
ebblakegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d4b1902 commit 26e47f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ $(MAN_HTML): %.html : %.txt
240240
mv $@+ $@
241241

242242
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 $<
244244

245245
technical/api-index.txt: technical/api-index-skel.txt \
246246
technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
@@ -293,13 +293,13 @@ howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
293293
mv $@+ $@
294294

295295
$(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
296-
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 $*.txt
296+
$(QUIET_ASCIIDOC)$(ASCIIDOC) $(ASCIIDOC_EXTRA) -b xhtml11 $*.txt
297297

298298
WEBDOC_DEST = /pub/software/scm/git/docs
299299

300300
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
301301
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
302-
sed -e '1,/^$$/d' $< | $(ASCIIDOC) -b xhtml11 - >$@+ && \
302+
sed -e '1,/^$$/d' $< | $(ASCIIDOC) $(ASCIIDOC_EXTRA) -b xhtml11 - >$@+ && \
303303
mv $@+ $@
304304

305305
install-webdoc : html

0 commit comments

Comments
 (0)