diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2019-09-05 20:33:52 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2019-09-05 20:33:52 +0200 |
commit | dec245bb9531cc77d243c81350f2197f69666070 (patch) | |
tree | 94d051d3bb85ccf7afda01adaf94eabb1a611256 /gtkdoc | |
parent | aea080a92050edd2894f9a228d138cb80edfc4be (diff) | |
download | gtk-doc-dec245bb9531cc77d243c81350f2197f69666070.tar.gz |
mkhtml: add --output-dir param
This gives build systems more flexibility.
Diffstat (limited to 'gtkdoc')
-rw-r--r-- | gtkdoc/mkhtml2.py | 4 |
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)) |