From 170e1307aa514ed9be54f948eefe98a1062e69df Mon Sep 17 00:00:00 2001 From: Peter von Kaehne Date: Sat, 10 Jun 2017 21:03:29 +0000 Subject: improvements for commentaries git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@513 07627401-56e2-0310-80f4-f8cd0041bdcd --- modules/conf/confmaker.pl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'modules/conf/confmaker.pl') 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"; -- cgit