]> www.wagner.pp.ru Git - fiction/Kate-the-Empress.git/blobdiff - Makefile
Fixed em-dashes in html. Put
[fiction/Kate-the-Empress.git] / Makefile
index 72b28023fc5dfc097ee206bd197c726e6b04e3b9..1ff488d7442014f2db9c99abf31a6c7b0881d83d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,4 +7,5 @@ Kate-the-Empress.pdf: $(wildcard *.tex)
 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
+       sed -i.bak -e 's/ -- /\ \— /g' -e 's/ --$$/\ \—/' -e 's/^-- /\— /' Kate-the-Empress.html
        rm Kate-the-Empress.tex