Skip to content

Commit

Permalink
Dependencies to make epub
Browse files Browse the repository at this point in the history
If metadata or title, say, change, force build of .epub
  • Loading branch information
JP Mens committed Mar 19, 2016
1 parent dfd0ff4 commit 641423a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -12,7 +12,7 @@ pdf: $(book).pdf
$(book).mobi: $(book).epub
kindlegen -verbose $(book).epub

$(book).epub: $(chapters) epub.css
$(book).epub: $(chapters) epub.css title.txt metadata.xml epub.css covers.png
pandoc -o $(book).epub title.txt $(chapters) --epub-metadata=metadata.xml --toc --toc-depth=2 --epub-stylesheet=epub.css --epub-cover-image=covers.png

$(book).pdf: $(book).epub
Expand Down

0 comments on commit 641423a

Please sign in to comment.