]> www.wagner.pp.ru Git - fiction/Kate-the-Empress.git/blob - Makefile
Fixed em-dashes in html. Put
[fiction/Kate-the-Empress.git] / Makefile
1 all: Kate-the-Empress.pdf Kate-the-Empress.html
2
3 Kate-the-Empress.pdf: $(wildcard *.tex)
4         pdflatex book
5         mv book.pdf Kate-the-Empress.pdf
6
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