+Kate-the-Empress.epub: onefile.tex epub-metadata.xml
+ cat epub-metadata.xml > metadata-tmp.xml
+ echo "<dc:date>`date +%Y-%m-%d`</dc:date>">> metadata-tmp.xml
+ pandoc -t epub --epub-metadata=metadata-tmp.xml --standalone -o $@ $+
+
+Kate-the-Empress.fb2.zip: Kate-the-Empress.fb2
+ zip Kate-the-Empress.fb2.zip 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>$@