blob: a4cc7e1c6c18c069dfaa6040c32d1ed15d70a858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
PYFILES = $(wildcard *.py)
PYCHECKER = /usr/bin/pychecker
PYFLAKES = /usr/bin/pyflakes
clean::
@rm -fv *.pyc *~ .*~ *.pyo
@find . -name .\#\* -exec rm -fv {} \;
@rm -fv *.rpm
pychecker::
@$(PYCHECKER) $(PYFILES) || exit 0
pyflakes::
ifneq ($(PYFILES)x, x)
@$(PYFLAKES) $(PYFILES) || exit 0
endif
|