summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 15 insertions, 9 deletions
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