Skip to content

Commit a479a56

Browse files
author
Junio C Hamano
committed
Documentation/Makefile: allow man.base.url.for.relative.link to be set from Make
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 28044ba commit a479a56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ ifdef DOCBOOK_SUPPRESS_SP
103103
XMLTO_EXTRA += -m manpage-suppress-sp.xsl
104104
endif
105105

106+
ifdef MAN_BASE_URL
107+
XMLTO_EXTRA += --stringparam man.base.url.for.relative.links=$(MAN_BASE_URL)
108+
endif
109+
106110
# If your target system uses GNU groff, it may try to render
107111
# apostrophes as a "pretty" apostrophe using unicode. This breaks
108112
# cut&paste, so you should set GNU_ROFF to force them to be ASCII

0 commit comments

Comments
 (0)