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