- Timestamp:
- Mar 11, 2013, 8:25:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130307/dvodist/scripts/mkindex.dvo.pl
r35276 r35290 1 1 #!/usr/bin/env perl 2 2 3 if (@ARGV != 2) { die "USAGE: mkindex.dvo.pl (catdir) (catdir_name)\n" ;}3 if (@ARGV != 3) { die "USAGE: mkindex.dvo.pl (catdir) (catdir_name) (ippdata | dvodist)\n" ;} 4 4 5 5 @nlist = ("n0000", "n0730", "n1500", "n2230", "n3000", "n3730", "n4500", "n5230", "n6000", "n6730", "n7500", "n8230"); … … 8 8 $catdir = &basename($ARGV[0]); 9 9 $catdir_name = $ARGV[1]; 10 $target_name = $ARGV[2]; 10 11 # "Synthetic Photometry Catdir"; 11 12 … … 34 35 35 36 # XXX ippdata.page.php vs dvodist.page.php 36 print FILE "<?php include \"\@HTDOCS\@/www-util/ippdata.page.php\"\; ?>\n\n"; 37 if ($target_name eq "ippdata") { 38 print FILE "<?php include \"\@HTDOCS\@/www-util/ippdata.page.php\"\; ?>\n\n"; 39 } else { 40 print FILE "<?php include \"\@HTDOCS\@/www-util/dvodist.page.php\"\; ?>\n\n"; 41 } 37 42 38 43 # CATDIR Title supplied on cmd line
Note:
See TracChangeset
for help on using the changeset viewer.
