1 all: Kate-the-Empress.pdf Kate-the-Empress.html
3 Kate-the-Empress.pdf: $(wildcard *.tex)
5 mv book.pdf Kate-the-Empress.pdf
7 Kate-the-Empress.html: $(wildcard *.tex)
8 cp book.tex Kate-the-Empress.tex
9 latex2html -no_navigation -split=0 -no_subdir -prefix=Kate-the-Empress Kate-the-Empress.tex
10 sed -i.bak -e 's/ -- /\ \— /g' -e 's/ --$$/\ \—/' -e 's/^-- /\— /' Kate-the-Empress.html
11 rm Kate-the-Empress.tex