Than move my sciript to dir with .lit files and wait. Sometimes convertion takes really long time. Specialy htm to ps conversion. I added -d option for debuging html2ps cause it gives you at least some verbose mode.
Script looks like this. Nothing special but does the trick.
#!/bin/sh
for bla in *.lit
do
base=`basename "${bla}" .lit`
clit "${bla}" test/
done
cd test/
for blabla in *.htm
do
base=`basename "${blabla}" .htm`
html2ps -d "${base}.htm" > "${base}.ps"
ps2pdf "${base}.ps" "${base}.pdf"
## mv test/ ${base}
done
mkdir pdfji/
mv *.pdf pdfji/