diff options
author | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-03-04 17:54:53 -0500 |
---|---|---|
committer | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-03-04 17:54:53 -0500 |
commit | 1afe5b3bd97d292ab4c024ee7c434d036cb5db9d (patch) | |
tree | 9d80a010e4162dfe0f0ed58df813435150c77e5c /func/overlord/cmd_modules/Makefile | |
parent | 33ce5a294db93d58374b964425e91e64ab2a1458 (diff) | |
download | func-1afe5b3bd97d292ab4c024ee7c434d036cb5db9d.tar.gz func-1afe5b3bd97d292ab4c024ee7c434d036cb5db9d.tar.xz func-1afe5b3bd97d292ab4c024ee7c434d036cb5db9d.zip |
make "make clean" even cleanier.
try to hit up more of the subdirs, etc, when running "make clean"
Diffstat (limited to 'func/overlord/cmd_modules/Makefile')
-rwxr-xr-x | func/overlord/cmd_modules/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/func/overlord/cmd_modules/Makefile b/func/overlord/cmd_modules/Makefile new file mode 100755 index 0000000..15750f7 --- /dev/null +++ b/func/overlord/cmd_modules/Makefile @@ -0,0 +1,17 @@ + +PYFILES = $(wildcard *.py) + +PYCHECKER = /usr/bin/pychecker +PYFLAKES = /usr/bin/pyflakes + +clean:: + @rm -fv *.pyc *~ .*~ *.pyo + @find . -name .\#\* -exec rm -fv {} \; + @rm -fv *.rpm + -for d in $(DIRS); do ($(MAKE) -C $$d clean ); done + +pychecker:: + @$(PYCHECKER) $(PYFILES) || exit 0 + +pyflakes:: + @$(PYFLAKES) $(PYFILES) || exit 0 |