summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2019-09-05 20:30:28 +0200
committerStefan Sauer <ensonic@users.sf.net>2019-09-05 20:30:28 +0200
commitaea080a92050edd2894f9a228d138cb80edfc4be (patch)
treee46a9bbaff049a34232444c23511be7f44505775
parent84ff204f725dbd33cbd8390079163a373c3e8c68 (diff)
downloadgtk-doc-aea080a92050edd2894f9a228d138cb80edfc4be.tar.gz
mkdb: restore the --output-dir parameter
This was not used since we converted to python.
-rw-r--r--gtkdoc/mkdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkdoc/mkdb.py b/gtkdoc/mkdb.py
index bcb5423..9d910cb 100644
--- a/gtkdoc/mkdb.py
+++ b/gtkdoc/mkdb.py
@@ -267,6 +267,7 @@ def Run(options):
MODULE = options.module
INLINE_MARKUP_MODE = options.xml_mode or options.sgml_mode
NAME_SPACE = options.name_space
+ DB_OUTPUT_DIR = options.output_dir or os.path.join(ROOT_DIR, "xml")
main_sgml_file = options.main_sgml_file
if not main_sgml_file:
@@ -297,7 +298,6 @@ def Run(options):
# -- phase 2: scan sources
# TODO: move this to phase 3 once we fixed the call to OutputProgramDBFile()
- DB_OUTPUT_DIR = DB_OUTPUT_DIR if DB_OUTPUT_DIR else os.path.join(ROOT_DIR, "xml")
if not os.path.isdir(DB_OUTPUT_DIR):
os.mkdir(DB_OUTPUT_DIR)