Documentation/Makefile: allow man.base.url.for.relative.link to be set from Make
Signed-off-by: Junio C Hamano <junio@kernel.org>
Junio C Hamano committed
Dec 3, 2009 at 02:45 UTC
a479a564dc33bdbc102f2af81ab71ef3e1eae492
1 file changed
+4
Documentation/Makefile
+4
@@ -103,6 +103,10 @@ ifdef DOCBOOK_SUPPRESS_SP
103
XMLTO_EXTRA += -m manpage-suppress-sp.xsl
104
endif
105
106
+ifdef MAN_BASE_URL
107
+XMLTO_EXTRA += --stringparam man.base.url.for.relative.links=$(MAN_BASE_URL)
108
+endif
109
+
110
# If your target system uses GNU groff, it may try to render
111
# apostrophes as a "pretty" apostrophe using unicode. This breaks
112
# cut&paste, so you should set GNU_ROFF to force them to be ASCII