From fecc14608b90045d48446e3cacbe37e307657a33 Mon Sep 17 00:00:00 2001 From: gferg <> Date: Fri, 4 Apr 2003 17:29:09 +0000 Subject: [PATCH] updated --- LDP/builder/ldp_mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LDP/builder/ldp_mk b/LDP/builder/ldp_mk index d32d9ad9..fecef938 100644 --- a/LDP/builder/ldp_mk +++ b/LDP/builder/ldp_mk @@ -39,7 +39,7 @@ my($dcl) = ''; my($linuxdoc) = 1; my($create_index) = 0; my($html_only) = 0; -my($cmd, $fname, $fname_wo_ext, $txt_filter, $style, $s, $db_v, $x) = ''; +my($cmd, $fname, $fname_wo_ext, $txt_filter, $style, $db_style, $s, $db_v, $x) = ''; my(@flines) = (); while(1) { @@ -55,7 +55,7 @@ while(1) { } elsif ($ARGV[0] eq "-mk_index") { shift(@ARGV); $create_index = 1; - } elsif ($ARGV[0] eq "-html_only") { + } elsif ($ARGV[0] =~ /^\-html/) { shift(@ARGV); $html_only = 1; } else { @@ -82,6 +82,7 @@ if( !(-e "$fname") ) { if( $style eq '' ) { $style = "$_toolroot/dsssl/docbook/html/ldp.dsl#html"; } +$db_style = "$_toolroot/dsssl/docbook/html/docbook.dsl"; # determine DTD @@ -159,7 +160,7 @@ if( $linuxdoc == 0 && $create_index == 1 ) { $cmd = "$_toolroot/mkindex/collateindex.pl -N -o index." . ($dtd eq 'XML' ? "xml;" : "sgml;") . - "jade -t sgml -V html-index -d $style $dcl $fname; " . + "jade -t sgml -V html-index -d $db_style $dcl $fname; " . "$_toolroot/mkindex/collateindex.pl -g -t Index -i doc-index " . "-o index." . ($dtd eq 'XML' ? "xml" : "sgml") . " HTML.index;" . "rm -f HTML.index"; @@ -167,7 +168,6 @@ if( $linuxdoc == 0 && $create_index == 1 ) { system($cmd); } - # create HTML version # print "\nldp_mk: creating HTML from $fname...\n";