Skip to content

Commit

Permalink
Make a PDF from the ePub.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Mar 7, 2015
1 parent 6c06619 commit 656477a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -5,12 +5,17 @@ book: perlwebbook.epub

mobi: perlwebbook.mobi

pdf: perlwebbook.pdf

perlwebbook.mobi: perlwebbook.epub
kindlegen -verbose perlwebbook.epub

perlwebbook.epub: $(chapters)
pandoc -o perlwebbook.epub title.txt $(chapters) --epub-metadata=metadata.xml --toc --toc-depth=2

perlwebbook.pdf: perlwebbook.epub
ebook-convert perlwebbook.epub perlwebbook.pdf

clean:
rm perlwebbook.epub perlwebbook.mobi

0 comments on commit 656477a

Please sign in to comment.