summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-01-10 02:13:23 +0100
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-01-10 02:13:23 +0100
commitfac723a6afcc8a32cff902976f619e59d52db724 (patch)
tree186b3c5ab235799c9a86acb9079742dc8a8b7f98
parentRemove <d/> element. (diff)
downloaddevmanual-fac723a6afcc8a32cff902976f619e59d52db724.tar.gz
devmanual-fac723a6afcc8a32cff902976f619e59d52db724.tar.bz2
devmanual-fac723a6afcc8a32cff902976f619e59d52db724.zip
Set the baseuri to the output directory by default.
When building for the official website, or for packaging, this can be rewritten properly on the make commandline.
-rw-r--r--Makefile.docbook3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.docbook b/Makefile.docbook
index f25523c..2b9fdf4 100644
--- a/Makefile.docbook
+++ b/Makefile.docbook
@@ -2,9 +2,12 @@ XSLTPROC = xsltproc
XSL-NS-SS = http://docbook.sourceforge.net/release/xsl-ns/current/
+BASEURI := $(shell pwd)/public/
+
generate: main.docbook
$(XSLTPROC) \
--xinclude \
+ --stringparam baseuri "${BASEURI}" \
--stringparam base.dir public/ \
--stringparam chunk.toc chunk.toc \
--stringparam section.autolabel 1 \