+docs=ctsim.tex ctsim.bib texhelp.sty psbox.tex logo-huge.bmp tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim.bib
+EXTRA_DIST = ${docs} ctsim.htb
+
+dvi: ctsim.tex
+ bibtex ctsim
+ cp ctsim-latex.bib ctsim.bib
+ latex ctsim
+ makeindex ctsim
+ latex ctsim
+
+winhelp: ctsim.tex
+ rm -f ctsim.rtf ctsim.cnt
+ cp ctsim-tex2rtf.bib ctsim.bib
+ tex2rtf ctsim.tex ctsim.rtf -winhelp
+ hcw /c /m /e ctsim.hpj
+ mv CTSIM.HLP ctsim.hlp
+ cp ctsim.hlp ctsim.cnt ../msvc/ctsim/
+
+htmlhelp: ctsim.tex
+ rm -f ctsim*.html ctsim.hhp ctsim.hhc ctsim.hhk ctsim.zip
+ cp ctsim-tex2rtf.bib ctsim.bib
+ tex2rtf ctsim.tex ctsim.html -html
+ zip ctsim.zip *.html *.gif ctsim.hhp ctsim.hhc ctsim.hhk
+ mv ctsim.zip ctsim.htb
+ cp ctsim.htb ../msvc/ctsim/.
+ cp ctsim.htb ../src/.
+