[apparmor] [patch utils: re-org tests Makefile a bit
Steve Beattie
steve at nxnw.org
Sat Oct 25 20:16:53 UTC 2014
This patch moves the declaration of phony and quieted make targets to a
single section, to avoid repeated lines. It's not so useful for just two
targets , but the following patch adds three more targets that will
similar attributes.
Signed-off-by: Steve Beattie <steve at nxnw.org>
---
utils/test/Makefile | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Index: b/utils/test/Makefile
===================================================================
--- a/utils/test/Makefile
+++ b/utils/test/Makefile
@@ -26,16 +26,13 @@ common/Make.rules: $(COMMONDIR)/Make.rul
ln -sf $(COMMONDIR) .
endif
-.PHONY: clean
+.PHONY: clean check
ifndef VERBOSE
-.SILENT: clean
+.SILENT: clean check
endif
+
clean: _clean
rm -rf __pycache__/ common
-.PHONY: check
-ifndef VERBOSE
-.SILENT: check
-endif
check:
export PYTHONPATH=.. ; $(foreach test, $(wildcard test-*.py), $(call pyalldo, $(test)))
--
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: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20141025/35cc1b2b/attachment.pgp>
More information about the AppArmor
mailing list