summaryrefslogtreecommitdiff
path: root/gtkdoc-mkhtml.in
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2002-08-10 08:36:46 +0000
committerJames Henstridge <jamesh@src.gnome.org>2002-08-10 08:36:46 +0000
commitdb5ac71b5044a37815893df45a34c17edf95c901 (patch)
tree4b25d0d5ad4da18bbaba72f915115bafc271346e /gtkdoc-mkhtml.in
parentab23b9c8fb12614da2a8f5564854952a0c228625 (diff)
downloadgtk-doc-db5ac71b5044a37815893df45a34c17edf95c901.tar.gz
add a gtkdoc.bookname param, and include it in the index.sgml output (if
2002-08-08 James Henstridge <james@daa.com.au> * gtk-doc.xsl: add a gtkdoc.bookname param, and include it in the index.sgml output (if not empty). * gtkdoc-mkhtml.in: only perform the sed operation if we are using Jade, and pass the module name as a parameter when using xsltproc.
Diffstat (limited to 'gtkdoc-mkhtml.in')
-rw-r--r--gtkdoc-mkhtml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in
index b82c72d..cc0a989 100644
--- a/gtkdoc-mkhtml.in
+++ b/gtkdoc-mkhtml.in
@@ -34,13 +34,13 @@ if test -f index.sgml; then
fi
if $is_xml; then
- @XSLTPROC@ --xinclude $gtkdocdir/gtk-doc.xsl $document
+ @XSLTPROC@ --xinclude --stringparam gtkdoc.bookname $module $gtkdocdir/gtk-doc.xsl $document
else
@JADE@ -t sgml -w no-idref -d $gtkdocdir/gtk-doc.dsl \
$gtkdocdir/gtk-doc.dcl $document
-fi
-sed s%href=\"%href=\"$module/% < index.sgml > index.sgml.tmp && mv index.sgml.tmp index.sgml
+ sed s%href=\"%href=\"$module/% < index.sgml > index.sgml.tmp && mv index.sgml.tmp index.sgml
+fi
echo "timestamp" > ../html.stamp