summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2017-06-10 21:03:29 +0000
committerPeter von Kaehne <refdoc@gmx.net>2017-06-10 21:03:29 +0000
commit170e1307aa514ed9be54f948eefe98a1062e69df (patch)
tree1c2b3365cd15848b3e507728b92d888b59c4a46c
parent778a7fcddd35f789f142728d9e3788b9cae1aef1 (diff)
downloadsword-tools-170e1307aa514ed9be54f948eefe98a1062e69df.tar.gz
improvements for commentaries
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@513 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-xmodules/conf/confmaker.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 4bbb764..55b6e18 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -197,10 +197,17 @@ if (@paragraphs==0) {$doc_has_feature{'p'}=true};
# Assemble and print out
print "[".$doc_name."]\n";
-print "DataPath=./modules/texts/ztext/".lc($doc_name)."/\n";
-if ($doc_type =~ m/Bible/i) { print "ModDrv=zText\n"}
-else {print "ModDrv=zUnknown\n"}
+if ($doc_type =~ m/Bible/i) {
+ print "ModDrv=zText\n";
+ print "DataPath=./modules/texts/ztext/".lc($doc_name)."/\n";
+}
+
+if ($doc_type =~ m/Commentary/i) {
+ print "ModDrv=zCom\n";
+ print "DataPath=./modules/com/zcom/".lc($doc_name)."/\n";
+}
+
print "CompressType=ZIP\n";
print "BlockType=BOOK\n";