Changeset 1948

Show
Ignore:
Timestamp:
10/23/07 09:39:22 (7 months ago)
Author:
karpet
Message:

test doc maker now requires explicit number of files to make

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libswish3/trunk/perl/docmaker.pl

    r1927 r1948  
    88my $usage = "$0 [max_files] [utf_factor]\n"; 
    99 
    10 $ENV{SWISHP} = 1; 
     10die $usage unless @ARGV; 
     11 
     12#$ENV{SWISH3} = 1; 
    1113 
    1214# based on 
     
    1921my $min_words_per_file = 3; 
    2022my $max_words_per_file = 9999; 
    21 my $max_files          = shift @ARGV || 2000
     23my $max_files          = shift @ARGV
    2224die $usage if $max_files =~ m/h/i; 
    2325