summaryrefslogtreecommitdiffstats
path: root/gtkdoc.sh
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-09 00:36:44 +0000
committerDavid Robillard <d@drobilla.net>2011-12-09 00:36:44 +0000
commit3b9f400868fc382a5f61db4eb7105be999049c7b (patch)
treea69ed4648b4453cc8ec7b2da3082ce5c9f9025b7 /gtkdoc.sh
parentaf9b88f33b4bca97087d911c5bdcfa4cfbb48cfe (diff)
downloadganv-3b9f400868fc382a5f61db4eb7105be999049c7b.tar.gz
ganv-3b9f400868fc382a5f61db4eb7105be999049c7b.tar.bz2
ganv-3b9f400868fc382a5f61db4eb7105be999049c7b.zip
Improve documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3840 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'gtkdoc.sh')
-rwxr-xr-xgtkdoc.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/gtkdoc.sh b/gtkdoc.sh
index 7dddde6..629053a 100755
--- a/gtkdoc.sh
+++ b/gtkdoc.sh
@@ -2,6 +2,9 @@
DOC_MODULE=ganv
+pwd=`pwd`
+echo "gtkdoc.sh: Entering directory \`$pwd/docs'"
+
mkdir -p docs
cd docs
@@ -9,13 +12,15 @@ export CFLAGS="`pkg-config --cflags ganv-1`"
export LDFLAGS="`pkg-config --libs ganv-1`"
# Sources have changed
-gtkdoc-scan --module=$DOC_MODULE --source-dir=../ganv
+
+gtkdoc-scan --rebuild-sections --rebuild-types --ignore-headers=types.h --module=$DOC_MODULE --source-dir=../ganv
gtkdoc-scangobj --module=$DOC_MODULE
-gtkdoc-mkdb --module=$DOC_MODULE --output-format=xml
+gtkdoc-mkdb --module=$DOC_MODULE --output-format=xml --source-dir=../ganv
# XML files have changed
mkdir -p html
cd html && gtkdoc-mkhtml $DOC_MODULE ../ganv-docs.xml && cd -
gtkdoc-fixxref --module=$DOC_MODULE --module-dir=html
+echo "gtkdoc.sh: Leaving directory \`$pwd/docs'"
cd - \ No newline at end of file