mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
utils: default make check to pyflakes3
$ make check will fail unless PYFLAKES=pyflakes3 is passed as an environment variable. Fix it so make check will work by default. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
af69088546
commit
9657d9b7e8
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,8 @@ PYMODULES = $(wildcard apparmor/*.py apparmor/rule/*.py)
|
|||
|
||||
MANPAGES = ${TOOLS:=.8} logprof.conf.5
|
||||
|
||||
PYFLAKES ?= pyflakes3
|
||||
|
||||
all: docs
|
||||
$(MAKE) -C po all
|
||||
$(MAKE) -C vim all
|
||||
|
@ -42,7 +44,6 @@ BINDIR=${DESTDIR}/usr/sbin
|
|||
CONFDIR=${DESTDIR}/etc/apparmor
|
||||
PYPREFIX=/usr
|
||||
|
||||
PYFLAKES=pyflakes
|
||||
|
||||
po/${NAME}.pot: ${TOOLS} ${PYMODULES}
|
||||
$(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${TOOLS} ${PYMODULES}"
|
||||
|
|
Loading…
Add table
Reference in a new issue