summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index ea41254..c461cbe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
-SUBDIRS = application-devel flash-memory frameworks kernel-devel linux-basics protocols realtime
+SUBDIRS = application-devel flash-memory frameworks kernel-devel linux-basics protocols realtime security misc distribution
default:
make all
-all clean::
+all:
for dir in $(SUBDIRS) ; do \
(cd $$dir && make $@); \
done
+
+clean:
rm -rf pdf
rm -f *.aux
rm -f *.log
@@ -49,8 +51,7 @@ vorlesung::
mv _confighandout.tex confighandout.tex
mv _tailhandout.tex tailhandout.tex
-
-pres::
+pres:
mv configpres.tex _configpres.tex
touch configpres.tex
mv tailpres.tex _tailpres.tex
@@ -59,10 +60,10 @@ pres::
bibtex pres_master.aux
pdflatex pres_master.tex
pdflatex pres_master.tex
- rm configpres.tex tailpres.tex
mv _configpres.tex configpres.tex
mv _tailpres.tex tailpres.tex
-book::
+ rm configpres.tex tailpres.tex
+book:
mv confighandout.tex _confighandout.tex
touch confighandout.tex
mv tailhandout.tex _tailhandout.tex
@@ -74,7 +75,7 @@ book::
rm confighandout.tailhandout.tex
mv _confighandout.tex confighandout.tex
mv _tailhandout.tex tailhandout.tex
-pdf::
+pdf:
rm -rf pdf
mkdir -p pdf/pres
mkdir -p pdf/handout