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 | |
parent | 5e74ca4427cc363bf43308fb00cf7f7d141b0f30 (diff) | |
download | third_party-func-6d43e053d75e4a08a05cea84ffa266fdd8e81ddc.tar.gz third_party-func-6d43e053d75e4a08a05cea84ffa266fdd8e81ddc.tar.xz third_party-func-6d43e053d75e4a08a05cea84ffa266fdd8e81ddc.zip |
add util makefiles here
-rwxr-xr-x | docs/Makefile | 7 | ||||
-rwxr-xr-x | func/Makefile | 19 |
2 files changed, 26 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile new file mode 100755 index 0000000..ede53b5 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,7 @@ + + +clean:: + @rm -fv *.pyc *~ .*~ *.pyo + @find . -name .\#\* -exec rm -fv {} \; + @rm -fv *.rpm + @rm -fv *.gz 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 + |