[apparmor] [patch utils: re-org tests Makefile a bit
John Johansen
john.johansen at canonical.com
Sat Oct 25 20:18:37 UTC 2014
On 10/25/2014 04:16 PM, Steve Beattie wrote:
> 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>
Acked-by: John Johansen at canonical.com
> ---
> 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)))
>
>
>
More information about the AppArmor
mailing list