summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-30 17:27:05 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-30 17:27:05 +0100
commitb8df713f513536e1d7404a61b19d264c0db6a4e5 (patch)
tree31963a3409321ef18ee45321d373e6f5f9dbf37e /Makefile
parent6c7875cda907835abeab1ab358c5d3d101c58a7d (diff)
Set final=1 (not STATUS=final) for final release.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 272415d..505254c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# Final document: make -B final=1
+
stem = eut
source_baseurl = http://euwiki.org/
source_basename = EUT/2nd-edition
@@ -12,9 +14,6 @@ filters += ./pandoc-iri
localfilters = $(filter ./%,$(filters))
-# To produce final document: make -B STATUS=final
-STATUS ?= draft
-
title = Ensuring utmost transparency
subtitle = Free Software and Open Standards under the Rules of Procedure of the European Parliament
env_filter += $(citeproc_file:%=PANDOC_CITEPROC_FILE=%)
@@ -31,7 +30,7 @@ args_latex += --template=template.tex --latex-engine=xelatex
args_latex += -H header.tex -B before.tex -A after.tex
args_latex += -V mainfont="Lora" -V sansfont="Quattrocento Sans" -V monofont="Inconsolata"
args_latex += -V documentclass=memoir -V headstyles=komalike -V chapterstyle=ell
-args_latex += -V classoption=titlepage -V classoption=$(STATUS)
+args_latex += -V classoption=titlepage -V classoption=$(if $(final),final,draft)
flavors = a4 book ebook
args_a4 = -V papersize=a4paper -V fontsize=10pt -V classoption=oneside
args_book = -V papersize=b5paper -V fontsize=10pt -V classoption=twoside