diff options
Diffstat (limited to 'gtkdoc-mkhtml.in')
-rw-r--r-- | gtkdoc-mkhtml.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in new file mode 100644 index 0000000..de3ec97 --- /dev/null +++ b/gtkdoc-mkhtml.in @@ -0,0 +1,19 @@ +#!/bin/sh +# + +usage="\ +Usage: gtkdoc-mkhtml MODULE DRIVER_FILE" + + +if test $# -ne 2; then + echo "${usage}" 1>&2 + exit 1 +fi + +module=$1 + +prefix=@prefix@ +gtkdocdir=@datadir@/gtk-doc/ + +jade -t sgml -d $gtkdocdir/gtk-doc.dsl -c $gtkdocdir/gtk-doc.cat $2 +sed s%href=\"%href=\"$module/% < index.sgml > index.sgml.tmp && mv index.sgml.tmp index.sgml |