summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a479a56)
raw | patch | inline | side by side (parent: a479a56)
author | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Dec 2009 08:06:52 +0000 (00:06 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Dec 2009 08:06:52 +0000 (00:06 -0800) |
Even setting it to empty is better than leaving it unset as it
prevents the warning cruft from appearing in the output.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
prevents the warning cruft from appearing in the output.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile | patch | blob | history |
diff --git a/Documentation/Makefile b/Documentation/Makefile
index f4c23202f06445e129f672b07fd5d59ae1f1c272..d4c05ca87945840f6a4f0f183086f9b29d5ad274 100644 (file)
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
XMLTO_EXTRA += -m manpage-suppress-sp.xsl
endif
-ifdef MAN_BASE_URL
+# Newer DocBook stylesheet emits warning cruft in the output when
+# this is not set, and if set it shows an absolute link. We can
+# use MAN_BASE_URL=http://www.kernel.org/pub/software/scm/git/docs/
+# but distros may want to set it to /usr/share/doc/git-core/docs/ or
+# something like that.
XMLTO_EXTRA += --stringparam man.base.url.for.relative.links=$(MAN_BASE_URL)
-endif
# If your target system uses GNU groff, it may try to render
# apostrophes as a "pretty" apostrophe using unicode. This breaks