From 883042d9f2ac38c464e1472219a1a4492b45b5de Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 3 Feb 2011 19:11:51 +0100 Subject: Makefile: split book target in book & pres Signed-off-by: Manuel Traut --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d2542f..9699f53 100644 --- a/Makefile +++ b/Makefile @@ -8,23 +8,29 @@ all clean:: (cd $$dir && make $@); \ done -book:: +pres:: mv configpres.tex _configpres.tex touch configpres.tex - mv confighandout.tex _confighandout.tex - touch confighandout.tex mv tailpres.tex _tailpres.tex touch tailpres.tex - mv tailhandout.tex _tailhandout.tex - touch tailhandout.tex + pdflatex pres_master.tex + bibtex pres_master.aux pdflatex pres_master.tex pdflatex pres_master.tex - pdflatex handout_master.tex - pdflatex handout_master.tex - rm configpres.tex confighandout.tex tailpres.tex tailhandout.tex mv _configpres.tex configpres.tex - mv _confighandout.tex confighandout.tex mv _tailpres.tex tailpres.tex + rm configpres.tex tailpres.tex +book:: + mv confighandout.tex _confighandout.tex + touch confighandout.tex + mv tailhandout.tex _tailhandout.tex + touch tailhandout.tex + TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout_master.tex + bibtex handout_master.tex + TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout_master.tex + TEXINPUTS=`pwd`/wise:.:$(TEXINPUTS) pdflatex handout_master.tex + rm confighandout.tailhandout.tex + mv _confighandout.tex confighandout.tex mv _tailhandout.tex tailhandout.tex pdf:: rm -rf pdf -- cgit v1.2.3