diff options
author | 2010-01-10 02:13:23 +0100 | |
---|---|---|
committer | 2010-01-10 02:13:23 +0100 | |
commit | fac723a6afcc8a32cff902976f619e59d52db724 (patch) | |
tree | 186b3c5ab235799c9a86acb9079742dc8a8b7f98 | |
parent | Remove <d/> element. (diff) | |
download | devmanual-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.docbook | 3 |
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 \ |