summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30439a1..41866cf 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=twoside
args_a4 += -M isbn="978-90-823692-1-2" -V coverpage="$(stem)-a4-front.pdf"
args_book = -V papersize=b5paper -V fontsize=10pt -V classoption=twoside
args_ebook = -V papersize=a5paper -V fontsize=12pt -V classoption=oneside -V classoption=openany
-args_ebook += -M isbn="978-90-823692-0-5"
+args_ebook += -M isbn="978-90-823692-0-5" -V coverpage="$(stem)-a4-front.pdf"
args_ebook += -H header-ebook.tex
all: $(flavors:%=$(stem)-%.pdf)
@@ -94,6 +94,7 @@ $(markdown_includes:.md=.tex): %.tex: %.md
$(flavors:%=deps-%):: $(templates) $(includes) Makefile
deps-a4:: $(deps) $(stem)-a4-front.pdf
+deps-ebook:: $(deps) $(stem)-a4-front.pdf header-ebook.tex
$(flavors:%=$(stem)-%.pdf): $(stem)-%.pdf: $(stem).native $(deps-all) deps-%
pandoc --standalone --no-tex-ligatures $(args_meta) $(args_latex) $(args_$*) -o $@ $<