Kate-the-Empress.html: onefile.tex
pandoc -t html --toc --standalone -o $@ $+
-Kate-the-Empress.epub: onefile.tex
- pandoc -t epub --standalone -o $@ $+
+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
awk -f joinfiles.awk book.tex > $@
clean:
- rm -f onefile.tex book.log book.aux book.out book.toc
+ rm -f onefile.tex book.log book.aux book.out book.toc Kate-the-Empress.fb2 fb2lint