X-Git-Url: http://www.wagner.pp.ru/gitweb/?p=fiction%2FKate-the-Empress.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=bef816b0d1a67aabd5a7efb37d6c6aff299f45bc;hp=c6aa90e0af2fcfa86b3995c841450e839308b002;hb=34aa8ee96c682061235ff8355841c2f0c59c123f;hpb=c94e9f2cf72a205d6081ae2e706d854b35faf5f0 diff --git a/Makefile b/Makefile index c6aa90e..bef816b 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,14 @@ 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 +Kate-the-Empress.fb2.zip: Kate-the-Empress.fb2 zip Kate-the-Empress.fb2.zip Kate-the-Empress.fb2 - rm Kate-the-Empress.fb2 + +Kate-the-Empress.fb2: onefile.tex Tex2fb2 fb2meta.xml + ./Tex2fb2 fb2meta.xml onefile.tex >Kate-the-Empress.fb2 + +fb2lint: Kate-the-Empress.fb2 $(wildcard *.xsd) + xmllint --schema FictionBook2.1.xsd Kate-the-Empress.fb2 >/dev/null 2>$@ onefile.tex: joinfiles.awk $(wildcard *.tex) awk -f joinfiles.awk book.tex > $@