#
# The make file to make the html
#
# Dr. Tom V. Mathew
#
# vmtom @ iitb.ac.in
#
# F = original tex file with .tex extention
#
F = latex
#
# gives the dvi file
#
$F.dvi: $F.tex
latex $F.tex;/bin/true
bibtex $F;/bin/true
latex $F.tex;/bin/true
latex $F.tex;/bin/true
#
# gives the pdf file
#
pdf: $F.dvi
dvips -t a4 $F.dvi -o $F.ps
ps2pdf $F.ps
#
# gives the landscape pdf file
#
lpdf: $F.dvi
dvips -t a4 -t landscape $F.dvi -o $F.ps
ps2pdf $F.ps
#
# make the html of the tex file
#
html: $F.tex
htlatex $F.tex
cp $F.html $F/
cat $F.css ../database/tvm_style_cv.css > $F/$F.css
# cp ../database/mystyle.css $F/$F.css
# cat $F.css > $F/$F.css
# htlatex $F.tex
# cat $F.css ../database/tvm_style_cv.css > $F/$F.css
# cp ../database/mystyle.css $F/$F.css
# perl -p -i -e 's/
//g' $F/$F.html
# perl -p -i -e 's/