BOOKNAME = the_mediocre_programmer
TITLE = title.txt
METADATA = metadata.xml
-CHAPTERS = intro.md chapter01.md chapter02.md chapter03.md chapter04.md chapter05.md chapter06.md epilogue.md appendixa.md
+CHAPTERS = intro.md chapter01.md chapter02.md chapter03.md chapter04.md chapter05.md chapter06.md chapter07.md epilogue.md gratitude.md appendixa.md
TOC = --toc --toc-depth=2
-COVER_IMAGE = images/cover.jpg
+COVER_IMAGE = images/cover_ebook_1600x2400.png
LATEX_CLASS = book
all: book
$(BUILD)/pdf/$(BOOKNAME).pdf: $(TITLE) $(CHAPTERS)
mkdir -p $(BUILD)/pdf
- pandoc $(TOC) --chapters --number-offset=0 --latex-engine=xelatex -V documentclass=$(LATEX_CLASS) -o $@ $^
+ pandoc $(TOC) --chapters --number-offset=0 --latex-engine=pdflatex -V documentclass=$(LATEX_CLASS) -o $@ $^
.PHONY: all book clean epub html pdf