From e0b0b8bc2d0f5260639f598bf79677248de2339c Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 13 Oct 2014 20:33:48 +0200 Subject: [PATCH 1/1] docs: set man.base.url.for.relative.links option when generating man-page This avoids the strange: | 1. [set $man.base.url.for.relative.links]/images/screenshot.png message in the generated man-page. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8fe138b..9e17781 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ doc_man: man-stamp man-stamp: grml-debootstrap.8.txt sed -i 's/^include::releasetable.txt\[\]/include::releasetable-man.txt\[\]/' grml-debootstrap.8.txt asciidoc -d manpage -b docbook grml-debootstrap.8.txt - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-debootstrap.8.xml + xsltproc --stringparam man.base.url.for.relative.links http://grml.org/grml-debootstrap/ \ + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-debootstrap.8.xml touch man-stamp shellcheck: -- 2.1.4