diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-03 00:06:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-03 00:06:52 -0800 |
commit | 8dd35c7121696851f837a5d8b17adaa99daf83ef (patch) | |
tree | 0727b2d4b0582717e5fbfb3d63b5b2f04400da53 /Documentation | |
parent | a479a564dc33bdbc102f2af81ab71ef3e1eae492 (diff) | |
download | git-8dd35c7121696851f837a5d8b17adaa99daf83ef.tar.gz git-8dd35c7121696851f837a5d8b17adaa99daf83ef.tar.xz |
Unconditionally set man.base.url.for.relative.links
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index f4c23202f..d4c05ca87 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -103,9 +103,12 @@ ifdef DOCBOOK_SUPPRESS_SP 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 |