EXTRA_DIST = cbb-man.tex cbb-man.txt cbb-man.dvi cbb-man.ps all-local: cbb-man.ps cbb-man/cbb-man.html cbb-man.dvi: cbb-man.tex if which latex; then \ latex cbb-man.tex; \ echo "Running twice to make sure references are right."; \ latex cbb-man.tex; \ else \ echo "no latex in path"; \ fi cbb-man.ps: cbb-man.dvi if which dvips; then \ dvips cbb-man.dvi -o; \ else \ echo "no dvips in path"; \ fi cbb-man/cbb-man.html: cbb-man.tex if which latex2html; then \ latex2html -split 0 -show_section_numbers cbb-man.tex; \ else \ echo "no latex in path"; \ fi