summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-03-25 10:15:44 +0100
committerJonas Smedegaard <dr@jones.dk>2015-03-25 10:15:59 +0100
commit35141b9545f384f4e35d56e33187937c475709bf (patch)
treedf661296cb99ebad293f571d19e6ebf8921265fa /Makefile
parentff5fb8053697aa10dd134c282d2c1318f64644a2 (diff)
Shrink margins for ebook flavor. Use two-page layout for A4 flavor.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2329f4..64160c0 100644
--- a/Makefile
+++ b/Makefile
@@ -39,11 +39,12 @@ args_latex += -V documentclass=memoir -V pagestyle=plain -V headstyles=komalike
args_latex += -V frontmatter=yes -V classoption=titlepage -V classoption=$(if $(final),final,draft)
#flavors = a4 book ebook
flavors = a4 ebook
-args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
+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=ebook -V fontsize=12pt -V classoption=oneside -V classoption=openany
args_ebook += -M isbn="978-90-823692-0-5"
+args_ebook += -H header-ebook.tex
all: $(flavors:%=$(stem)-%.pdf)