all: Kate-the-Empress.pdf Kate-the-Empress.html
Kate-the-Empress.pdf: $(wildcard *.tex)
pdflatex book
mv book.pdf Kate-the-Empress.pdf
Kate-the-Empress.html: $(wildcard *.tex)
cp book.tex Kate-the-Empress.tex
latex2html -no_navigation -split=0 -no_subdir -prefix=Kate-the-Empress Kate-the-Empress.tex
rm Kate-the-Empress.tex