X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=fiction%2FKate-the-Empress.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=c6aa90e0af2fcfa86b3995c841450e839308b002;hp=e8fe561bfd5d2f1c5d3d110ce4ccbc7a724b666f;hb=c94e9f2cf72a205d6081ae2e706d854b35faf5f0;hpb=90f2749e4d60b2700566294a2dc75370dcf356d2 diff --git a/Makefile b/Makefile index e8fe561..c6aa90e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: Kate-the-Empress.pdf Kate-the-Empress.html Kate-the-Empress.epub +all: Kate-the-Empress.pdf Kate-the-Empress.html Kate-the-Empress.epub Kate-the-Empress.fb2.zip Kate-the-Empress.pdf: $(wildcard *.tex) pdflatex book @@ -12,6 +12,11 @@ Kate-the-Empress.html: onefile.tex Kate-the-Empress.epub: onefile.tex pandoc -t epub --standalone -o $@ $+ +Kate-the-Empress.fb2.zip: onefile.zip + ./Tex2fb2 fb2meta.xml onefile.tex >Kate-the-Empress.fb2 + zip Kate-the-Empress.fb2.zip Kate-the-Empress.fb2 + rm Kate-the-Empress.fb2 + onefile.tex: joinfiles.awk $(wildcard *.tex) awk -f joinfiles.awk book.tex > $@