From f0c173214d2f37fa56a5dbad403e4b3827b9ddde Mon Sep 17 00:00:00 2001 From: Jan Altenberg Date: Fri, 25 Jan 2013 11:35:01 +0100 Subject: Fix broken clean target --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3