summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-20 15:38:15 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-20 15:38:15 +0100
commiteb87a304de537271ccc1d0d5406fe5ca32d29675 (patch)
tree2e3e6b164edb86d9472bd0126e19f171eca3c2e3 /giscanner
parenta7befa29ae7252327eca9394fa866338a51dea11 (diff)
downloadgobject-introspection-eb87a304de537271ccc1d0d5406fe5ca32d29675.tar.gz
g-ir-doc-tool: Install the Mako template files
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/mallardwriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index 65123a88..327ccc96 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -210,7 +210,7 @@ class MallardWriter(object):
top_srcdir = os.environ['UNINSTALLED_INTROSPECTION_SRCDIR']
template_dir = os.path.join(top_srcdir, 'giscanner')
else:
- template_dir = 'unimplemented'
+ template_dir = os.path.dirname(__file__)
file_name = os.path.join(template_dir, template_name)
file_name = os.path.abspath(file_name)