From b8df713f513536e1d7404a61b19d264c0db6a4e5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 30 Dec 2014 17:27:05 +0100 Subject: Set final=1 (not STATUS=final) for final release. --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3