aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-03 14:07:46 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-03 14:07:46 -0800
commit1a56be134f9477296a7ade040e8b802bf3a643a1 (patch)
treed6a7d5fb7dec7d318cdf9cef2f06040fd7fdcc16 /Documentation/Makefile
parenteff726f0c28097e7964eb876d005e50e0dcdb9a0 (diff)
parentadf9628ea41bd226dc5ab38daa0bc661097a2127 (diff)
downloadgit-1a56be134f9477296a7ade040e8b802bf3a643a1.tar.gz
Merge branch 'maint'
* maint: Prepare for 1.6.5.5 Documentation: xmlto 0.0.18 does not know --stringparam t4201: use ISO8859-1 rather than ISO-8859-1
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index e841ca96cb..3f1042eebb 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -109,7 +109,14 @@ endif
# 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.
+#
+# As older stylesheets simply ignore this parameter, it ought to be
+# safe to set it to empty string when the base URL is not specified,
+# but unfortunately we cannot do so unconditionally because at least
+# xmlto 0.0.18 is reported to lack --stringparam option.
+ifdef MAN_BASE_URL
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