X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=Makefile;h=b479d1a33875a1ab16495fe61fb304c2095fb7d6;hb=653dae381808cf3cf311725d3b114ac3fb6e7aab;hp=bef816b0d1a67aabd5a7efb37d6c6aff299f45bc;hpb=34aa8ee96c682061235ff8355841c2f0c59c123f;p=fiction%2FKate-the-Empress.git diff --git a/Makefile b/Makefile index bef816b..b479d1a 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,10 @@ Kate-the-Empress.pdf: $(wildcard *.tex) 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 "`date +%Y-%m-%d`">> 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 @@ -25,4 +27,4 @@ onefile.tex: joinfiles.awk $(wildcard *.tex) 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