summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2011-02-03 19:11:51 +0100
committerManuel Traut <manut@linutronix.de>2011-02-03 19:11:51 +0100
commit883042d9f2ac38c464e1472219a1a4492b45b5de (patch)
tree2ec03b5e6ee27fbb030d4b6b5061f6a393a7bfde /Makefile
parent7e5883bbd6e699d1fcee0814c5a172d6348bd63c (diff)
Makefile: split book target in book & pres
Signed-off-by: Manuel Traut <manut@linutronix.de>
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