[apparmor] [patch] Fix top level 'make clean' target
Steve Beattie
steve at nxnw.org
Mon May 23 22:28:59 UTC 2011
This patch fixes up a bit that leaked into kees' commit rev 1727 to
support a top level make clean target.
---
Makefile | 4 ----
tests/Makefile | 7 +++++++
tests/regression/Makefile | 7 +++++++
tests/stress/Makefile | 7 +++++++
4 files changed, 21 insertions(+), 4 deletions(-)
Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,6 @@ DIRS=parser \
changehat/libapparmor \
changehat/mod_apparmor \
changehat/pam_apparmor \
- management/apparmor-dbus \
- management/applets/apparmorapplet-gnome \
- management/yastui \
- common \
tests
REPO_URL?=lp:apparmor
Index: b/tests/Makefile
===================================================================
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,7 @@
+SUBDIRS=regression stress
+
+.PHONY: clean
+clean:
+ for dir in $(SUBDIRS) ; do \
+ make clean -C $${dir} ; \
+ done
Index: b/tests/regression/Makefile
===================================================================
--- /dev/null
+++ b/tests/regression/Makefile
@@ -0,0 +1,7 @@
+SUBDIRS=apparmor
+
+.PHONY: clean
+clean:
+ for dir in $(SUBDIRS) ; do \
+ make clean -C $${dir} ; \
+ done
Index: b/tests/stress/Makefile
===================================================================
--- /dev/null
+++ b/tests/stress/Makefile
@@ -0,0 +1,7 @@
+SUBDIRS=subdomain
+
+.PHONY: clean
+clean:
+ for dir in $(SUBDIRS) ; do \
+ make clean -C $${dir} ; \
+ done
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110523/b00a293d/attachment.pgp>
More information about the AppArmor
mailing list