Skip to content

Commit

Permalink
ad chapter compile
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Oct 20, 2015
1 parent 80343c3 commit 3efdb83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ all:
iot:
pandoc -s -V geometry:margin=1in --number-sections --highlight-style pygments -S --toc -c css/vendor.css -B template/head.html end/iot.md -o iot.html

chapter:
find src/ -name \*.md -type f -exec pandoc -o {}.html {} \;
mv src/*/*.html build/
mv src/*.html build/

epub:
pandoc -s -V geometry:margin=1in --number-sections --highlight-style pygments -S --toc -c css/vendor.css -B template/headpdf.html src/pre/*.md src/*.md src/end/*.md -o build/pdf.html
pandoc build/pdf.html -o build/designiot.epub
Expand Down

0 comments on commit 3efdb83

Please sign in to comment.