From 846aef98db02e88129aec5d3e5855470426df3bd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 25 Mar 2015 11:18:25 +0100 Subject: Add cover page to ebook flavor (simply shrinking A4 design). --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $@ $< -- cgit v1.2.3