summaryrefslogtreecommitdiff
path: root/gtkdoc/mkhtml2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gtkdoc/mkhtml2.py')
-rw-r--r--gtkdoc/mkhtml2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py
index 9152850..0c84483 100644
--- a/gtkdoc/mkhtml2.py
+++ b/gtkdoc/mkhtml2.py
@@ -1848,6 +1848,8 @@ def run(options):
module = options.args[0]
document = options.args[1]
+ output_dir = options.output_dir or os.getcmd()
+
# TODO: pass options.extra_dir
- sys.exit(main(module, document, os.getcwd(), options.uninstalled, options.src_lang,
+ sys.exit(main(module, document, output_dir, options.uninstalled, options.src_lang,
options.path))