9 IMAGES=bootloader.tex map.tex image.tex parameter.tex other.tex
11 .SUFFIXES: .fig .tex .dvi .ps
14 $(FIG2DEV) -L latex $*.fig $*.tex
19 all: user.dvi tech.dvi user.pdf tech.pdf
22 dvips -o user.ps user.dvi
25 dvips -o tech.ps tech.dvi
29 tech.dvi: tech.tex $(IMAGES)
39 ../doc/README: user.tex
40 perl t2a.pl <user.tex >../doc/README || { rm -f ../doc/README; exit 1; }
43 latex2html -split 2 -link 2 -toc_depth 2 user
44 latex2html -split 1 -link 1 -toc_depth 1 tech
51 rm -f *~ *.toc *.aux *.log *.out
54 rm -f *.ps *.dvi *.pdf
61 for n in $(IMAGES); do echo '(omitted)' >$$n; done