Starting off the certmaster tree with most of the func code, shortly non-certmaster...
[certmaster.git] / scripts / Makefile
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100755 (executable)
index 0000000..a4cc7e1
--- /dev/null
@@ -0,0 +1,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