blob: d6303826285b1522e0a9bcbe4642af5e2a025e1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
PYFILES = $(wildcard *.py)
PYDIRS = modules
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::
@$(PYFLAKES) $(PYFILES) || exit 0
pychecker::
-for d in $(PYDIRS); do ($(MAKE) -C $$d pychecker ); done
pyflakes::
-for d in $(PYDIRS); do ($(MAKE) -C $$d pyflakes ); done
|