summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-03-25 11:18:25 +0100
committerJonas Smedegaard <dr@jones.dk>2015-03-25 11:18:25 +0100
commit846aef98db02e88129aec5d3e5855470426df3bd (patch)
tree921e89de8d3f465ba9ab6145ce2a43f2a462fd87
parentddb1758d0b14a9fe1eb594bde1f44bea48d0c922 (diff)
Add cover page to ebook flavor (simply shrinking A4 design).
-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 $@ $<