diff options
| author | Adrian Likins <alikins@redhat.com> | 2007-09-27 14:39:08 -0400 |
|---|---|---|
| committer | Adrian Likins <alikins@redhat.com> | 2007-09-27 14:39:08 -0400 |
| commit | 6d43e053d75e4a08a05cea84ffa266fdd8e81ddc (patch) | |
| tree | 53d084510d831a451ad986012003b17998af28aa /func | |
| parent | 5e74ca4427cc363bf43308fb00cf7f7d141b0f30 (diff) | |
add util makefiles here
Diffstat (limited to 'func')
| -rwxr-xr-x | func/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/func/Makefile b/func/Makefile new file mode 100755 index 0000000..86a3db8 --- /dev/null +++ b/func/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 + |
