summaryrefslogtreecommitdiffstats
path: root/func/minion/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'func/minion/Makefile')
-rwxr-xr-xfunc/minion/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/func/minion/Makefile b/func/minion/Makefile
new file mode 100755
index 0000000..d630382
--- /dev/null
+++ b/func/minion/Makefile
@@ -0,0 +1,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