aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-08 08:32:19 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-08 08:32:20 -0700
commit02101c969dba9de4200cdd0cc8d88ce665b2c474 (patch)
tree4c975c5f5945564eae86d1e933192c4a9096bfe5 /Documentation/Makefile
parenta1a031d9356cc89cadc5e14acc4028e3ecc306eb (diff)
parentfe77b416c774a469a585c4b58fcae5e7a5f3545d (diff)
downloadgit-02101c969dba9de4200cdd0cc8d88ce665b2c474.tar.gz
git-02101c969dba9de4200cdd0cc8d88ce665b2c474.tar.xz
Merge branch 'mm/api-credentials-doc'
Finishing touches... * mm/api-credentials-doc: docs: fix cross-directory linkgit references
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 14286cb65..5d76a8407 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -280,6 +280,7 @@ technical/api-index.txt: technical/api-index-skel.txt \
technical/api-index.sh $(patsubst %,%.txt,$(API_DOCS))
$(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
+technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
$(patsubst %,%.html,$(API_DOCS) technical/api-index): %.html : %.txt
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -f asciidoc.conf \
$(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) $*.txt
@@ -333,6 +334,7 @@ $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt
WEBDOC_DEST = /pub/software/scm/git/docs
+howto/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
$(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
sed -e '1,/^$$/d' $< | $(ASCIIDOC) $(ASCIIDOC_EXTRA) -b xhtml11 - >$@+ && \