--- psiconv/trunk/formats/generate_html.sh 1999/10/03 21:10:47 2 +++ psiconv/trunk/formats/generate_html.sh 2002/05/10 16:15:10 149 @@ -1,11 +1,11 @@ -#!/bin/sh +#! /bin/sh if test "$#" -lt 3 ; then echo "Syntax: $0 psiconv_dir output_dir files..." exit 1 fi -if ! test -d "$1"/psiconv ; then +if ! test -d "$1"/program/psiconv ; then echo "First parameter should be base psiconv directory!" exit 1 fi @@ -23,7 +23,7 @@ echo "Generating html docs..." libtool=$basedir/libtool -psiconv=$basedir/psiconv/psiconv +psiconv=$basedir/program/psiconv/psiconv indexfile=$outputdir/index tempdir=$outputdir/.temp mkindex=$basedir/formats/index_html.sh @@ -37,8 +37,8 @@ for file in "$@"; do echo "Going to process $file..." outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'` - echo $libtool --mode=execute $psiconv $file -o $outputfile -Thtml - $libtool --mode=execute $psiconv $file -o $outputfile -Thtml + echo $libtool --mode=execute $psiconv -o $outputfile -Thtml3 $file + $libtool --mode=execute $psiconv -o $outputfile -Thtml3 $file done echo "Going to produce the index..."