thebookofshaders/Makefile
andystanton 3c85984cb0 Add support for building book in epub format
Add epub metadata & placeholder cover image

Refactor parseBook.py and extend Makefile to enable support for more formats

Update appendix 2

Add book.epub to .gitignore
2019-09-04 22:31:34 +01:00

21 lines
300 B
Makefile

.PHONY: default clean all epub pdf tex
default: clean all
clean:
rm -rf */tmp.md
rm -rf */tmp*.png
rm -rf book.*
all:
python2.7 src/parseBook.py -f tex -f pdf -f epub
epub:
python2.7 src/parseBook.py -f epub
pdf:
python2.7 src/parseBook.py -f pdf
tex:
python2.7 src/parseBook.py -f tex