aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/doc_reform.org15
1 files changed, 13 insertions, 2 deletions
diff --git a/org/doc_reform.org b/org/doc_reform.org
index 9be2480..c47d00c 100644
--- a/org/doc_reform.org
+++ b/org/doc_reform.org
@@ -510,10 +510,21 @@ struct OptActions {
}
auto parallelise() {
bool _is;
- if (opts["parallel"] == true
- || (opts["parallel"] != false && opts["serial"] == false)) {
+ if (opts["parallel"] == true) {
_is = true;
if (sqlite_shared_db_action) { _is = false; }
+ } else if (opts["parallel"] == false
+ && opts["serial"] == true) {
+ _is = false;
+ } else if (opts["abstraction"]
+ || concordance
+ || epub
+ || html
+ || manifest
+ || pod
+ || source
+ ) {
+ _is = true;
} else { _is = false; }
return _is;
}