]> www.wagner.pp.ru Git - fiction/Kate-the-Empress.git/blobdiff - Makefile
*** empty log message ***
[fiction/Kate-the-Empress.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..72b2802
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+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