diff options
author | Fred Drake <fdrake@acm.org> | 1998-08-07 19:52:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-08-07 19:52:37 (GMT) |
commit | aa3f9fb7d5e3e02c2f02b7b3c7fcbdeab4bad59a (patch) | |
tree | e09482a70b15fada86e308f0c09942e2bdd383de | |
parent | 7cbf462acf31f1283e02e29b695fd37802dc0c4f (diff) | |
download | cpython-aa3f9fb7d5e3e02c2f02b7b3c7fcbdeab4bad59a.zip cpython-aa3f9fb7d5e3e02c2f02b7b3c7fcbdeab4bad59a.tar.gz cpython-aa3f9fb7d5e3e02c2f02b7b3c7fcbdeab4bad59a.tar.bz2 |
By default, use a two-column index.
-rw-r--r-- | Doc/perl/l2hinit.perl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 2e11a50..fd1c281 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -31,6 +31,9 @@ $BODYTEXT = 'bgcolor="#ffffff"'; $CHILDLINE = "\n<p><hr>\n"; $VERBOSITY = 0; +# default # of columns for the index +$INDEX_COLUMNS = 2; + # A little painful, but lets us clean up the top level directory a little, # and not be tied to the current directory (as far as I can tell). @@ -192,7 +195,7 @@ sub make_index_entry { sub insert_index{ my($mark,$datafile) = @_; - my $index = `$myrootdir/tools/buildindex.py $datafile`; + my $index = `$myrootdir/tools/buildindex.py --columns $INDEX_COLUMNS $datafile`; s/$mark/$index/; } |