summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2013-01-25 11:35:01 +0100
committerJan Altenberg <jan@linutronix.de>2013-01-25 11:35:01 +0100
commitf0c173214d2f37fa56a5dbad403e4b3827b9ddde (patch)
treed6b7a2d3e40ab533fc4da58434c681cbd167fe85
parentfb94679a12508a61b45d13ca86c967c3979dffbb (diff)
Fix broken clean target
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ef20e74..0c57970 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,12 @@ SUBDIRS = application-devel flash-memory frameworks kernel-devel linux-basics pr
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
@@ -18,7 +20,7 @@ all clean::
rm -f *.blg
rm -f *.out
rm -f *.vrb
-pres::
+pres:
mv configpres.tex _configpres.tex
touch configpres.tex
mv tailpres.tex _tailpres.tex
@@ -30,7 +32,7 @@ pres::
mv _configpres.tex configpres.tex
mv _tailpres.tex tailpres.tex
rm configpres.tex tailpres.tex
-book::
+book:
mv confighandout.tex _confighandout.tex
touch confighandout.tex
mv tailhandout.tex _tailhandout.tex
@@ -42,7 +44,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