summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaszlo Pandy <lpandy@src.gnome.org>2011-08-11 10:57:14 +0200
committerLaszlo Pandy <lpandy@src.gnome.org>2011-08-11 12:40:24 +0200
commit28bc1cbdfc5b213d7c926e05f35709c55f5908b1 (patch)
treec195a64731f638438b887466fbf481f4b4cf1a81 /tools
parent93b27c02c1ee9ddea871c36dd1bf6e9ef443cebd (diff)
downloadgobject-introspection-28bc1cbdfc5b213d7c926e05f35709c55f5908b1.tar.gz
[docbook] Make DocBookWriter use Transformer
Diffstat (limited to 'tools')
-rw-r--r--tools/g-ir-doc-tool.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/g-ir-doc-tool.in b/tools/g-ir-doc-tool.in
index dcf01128..4a84afad 100644
--- a/tools/g-ir-doc-tool.in
+++ b/tools/g-ir-doc-tool.in
@@ -21,6 +21,9 @@
import os
import sys
+import __builtin__
+
+__builtin__.__dict__['DATADIR'] = "@datarootdir@"
if 'GI_SCANNER_DEBUG' in os.environ:
def on_exception(exctype, value, tb):