diff options
author | Adrian Likins <alikins@redhat.com> | 2007-09-25 12:35:49 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-09-25 12:35:49 -0400 |
commit | 91908a6228316dadf22de4eca88354bd59807fc3 (patch) | |
tree | fad6debddd7cdef75ae2836c3d1d8aa8a24caecd /modules | |
parent | fb7df2a5b7834ead29effb5c60bdc33558546631 (diff) | |
download | third_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-x | modules/Makefile | 19 |
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 + |