summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-25 12:35:49 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-25 12:35:49 -0400
commit91908a6228316dadf22de4eca88354bd59807fc3 (patch)
treefad6debddd7cdef75ae2836c3d1d8aa8a24caecd /modules
parentfb7df2a5b7834ead29effb5c60bdc33558546631 (diff)
downloadthird_party-func-91908a6228316dadf22de4eca88354bd59807fc3.tar.gz
third_party-func-91908a6228316dadf22de4eca88354bd59807fc3.tar.xz
third_party-func-91908a6228316dadf22de4eca88354bd59807fc3.zip
couple of utility makefiles
mainly just so I can type "make clean" before "git status" but also includes targets for pychecker and pyflakes
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/Makefile b/modules/Makefile
new file mode 100755
index 0000000..86a3db8
--- /dev/null
+++ b/modules/Makefile
@@ -0,0 +1,19 @@
+
+
+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::
+ @$(PYFLAKES) $(PYFILES) || exit 0
+