--- psiconv/trunk/formats/generate_html4.sh 2004/02/21 13:24:04 216
+++ psiconv/trunk/formats/generate_html4.sh 2004/04/29 21:43:28 250
@@ -8,13 +8,13 @@
exit 1
fi
-if ! test -d "$1"/program/psiconv ; then
+if test ! -d "$1"/program/psiconv ; then
echo "First parameter should be base psiconv directory!"
exit 1
fi
basedir=`cd $1; pwd`
-if ! test -d "$2" ; then
+if test ! -d "$2" ; then
echo "Output directory does not exist!"
exit 1
fi
@@ -32,6 +32,7 @@
mkindex=$basedir/formats/index_html.sh
index=$tempdir/index
mkdef=$basedir/formats/html4_links.sh
+config="$basedir/formats/psiconv.conf"
echo "Going to create the intermediate files..."
@@ -40,8 +41,8 @@
for file in "$@"; do
echo "Going to process $file..."
outputfile=$tempdir/`basename $file|sed s,'.psi$','.html,'`
- echo $libtool --mode=execute $psiconv -o $outputfile -Thtml4 -eASCII $file
- $libtool --mode=execute $psiconv -o $outputfile -Thtml4 -eASCII $file
+ echo $libtool --mode=execute $psiconv -c $config -o $outputfile -Thtml4 -eASCII $file
+ $libtool --mode=execute $psiconv -c $config -o $outputfile -Thtml4 -eASCII $file
done
echo "Going to produce the index..."