Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
doc: consistently use ASCIIDOC_EXTRA
author
Eric Blake
<ebb9@byu.net>
Tue, 28 Apr 2009 12:28:32 +0000
(06:28 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 28 Apr 2009 18:50:18 +0000
(11:50 -0700)
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>
Documentation/Makefile
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
d4b1902
)
diff --git
a/Documentation/Makefile
b/Documentation/Makefile
index e18242a6d40451f57dbb5cc8805228371a78e421..7a8037f586773c00004e34079b48bb514db2515f 100644
(file)
--- a/
Documentation/Makefile
+++ b/
Documentation/Makefile
@@
-240,7
+240,7
@@
$(MAN_HTML): %.html : %.txt
mv $@+ $@
user-manual.xml: user-manual.txt user-manual.conf
mv $@+ $@
user-manual.xml: user-manual.txt user-manual.conf
- $(QUIET_ASCIIDOC)$(ASCIIDOC) -b docbook -d book $<
+ $(QUIET_ASCIIDOC)$(ASCIIDOC)
$(ASCIIDOC_EXTRA)
-b docbook -d book $<
technical/api-index.txt: technical/api-index-skel.txt \
technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
technical/api-index.txt: technical/api-index-skel.txt \
technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
@@
-293,13
+293,13
@@
howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
mv $@+ $@
$(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
mv $@+ $@
$(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
- $(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 $*.txt
+ $(QUIET_ASCIIDOC)$(ASCIIDOC)
$(ASCIIDOC_EXTRA)
-b xhtml11 $*.txt
WEBDOC_DEST = /pub/software/scm/git/docs
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
WEBDOC_DEST = /pub/software/scm/git/docs
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
- sed -e '1,/^$$/d' $< | $(ASCIIDOC) -b xhtml11 - >$@+ && \
+ sed -e '1,/^$$/d' $< | $(ASCIIDOC)
$(ASCIIDOC_EXTRA)
-b xhtml11 - >$@+ && \
mv $@+ $@
install-webdoc : html
mv $@+ $@
install-webdoc : html