aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2009-12-03 02:45:09 +0000
committerJunio C Hamano <junio@kernel.org>2009-12-03 02:45:09 +0000
commita479a564dc33bdbc102f2af81ab71ef3e1eae492 (patch)
tree2aa3a271afce7d33cb6357d0ea1f765bf95528dc /Documentation/Makefile
parent28044baba6d268d91057398ffa041ee1b931a5e0 (diff)
downloadgit-a479a564dc33bdbc102f2af81ab71ef3e1eae492.tar.gz
git-a479a564dc33bdbc102f2af81ab71ef3e1eae492.tar.xz
Documentation/Makefile: allow man.base.url.for.relative.link to be set from Make
Signed-off-by: Junio C Hamano <junio@kernel.org>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index cd5b4396d..f4c23202f 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -103,6 +103,10 @@ ifdef DOCBOOK_SUPPRESS_SP
XMLTO_EXTRA += -m manpage-suppress-sp.xsl
endif
+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
# cut&paste, so you should set GNU_ROFF to force them to be ASCII