aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKel Modderman <kel@otaku42.de>2008-02-04 03:26:26 (GMT)
committerJouni Malinen <j@w1.fi>2008-02-04 03:26:26 (GMT)
commit54d67e50b3ff708bf19ed5bf08d7150d57e9d4fa (patch)
tree40e2b0f45e5f187ea1753a3cac74581cdb11e443
parentadca4a3fc177a1a432c6c5e518c6c707f694d65e (diff)
downloadhostap-history-54d67e50b3ff708bf19ed5bf08d7150d57e9d4fa.zip
hostap-history-54d67e50b3ff708bf19ed5bf08d7150d57e9d4fa.tar.gz
hostap-history-54d67e50b3ff708bf19ed5bf08d7150d57e9d4fa.tar.bz2
Check for src/ subdirectories on clean
If src/wps/ is to be pruned from the release tarball by build_release, then "make clean" should not fail. Check for existence of each directory in src/ in clean target. Signed-off-by: Kel Modderman <kel@otaku42.de>
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index fa01736..028af4d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,5 +4,5 @@ all:
@echo Nothing to be made.
clean:
- for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done
+ for d in $(SUBDIRS); do [ -d $$d ] && $(MAKE) -C $$d clean; done
rm -f *~