-EXTRA_DIST=sgp.doc ctsim.tex texhelp.sty
+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}
dvi: ctsim.tex
- latex ctsim.tex
+ bibtex ctsim
+ latex ctsim
+ makeindex ctsim
+ latex ctsim
+
+winhelp: ctsim.tex
+ rm -f ctsim.rtf ctsim.cnt
+ 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
+ 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/.
+