summaryrefslogtreecommitdiffstats
path: root/func/Makefile
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2007-10-02 21:51:13 -0400
committerJames Bowes <jbowes@redhat.com>2007-10-02 22:02:47 -0400
commit63e937cf144f0c61811bb6d842cfc22838a6b851 (patch)
tree7ccea04d35084633a2c16b5212cd635204e3a640 /func/Makefile
parent1ce955ec36f775d8fde2cb9d7943178e8b9d60da (diff)
downloadfunc-63e937cf144f0c61811bb6d842cfc22838a6b851.tar.gz
func-63e937cf144f0c61811bb6d842cfc22838a6b851.tar.xz
func-63e937cf144f0c61811bb6d842cfc22838a6b851.zip
Fix up recursive pylint and pychecker rules.
Diffstat (limited to 'func/Makefile')
-rwxr-xr-xfunc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/func/Makefile b/func/Makefile
index 86a3db8..99fd546 100755
--- a/func/Makefile
+++ b/func/Makefile
@@ -1,6 +1,7 @@
PYFILES = $(wildcard *.py)
+PYDIRS = minion overlord
PYCHECKER = /usr/bin/pychecker
PYFLAKES = /usr/bin/pyflakes
@@ -17,3 +18,7 @@ pychecker::
pyflakes::
@$(PYFLAKES) $(PYFILES) || exit 0
+pychecker::
+ -for d in $(PYDIRS); do ($(MAKE) -C $$d pychecker ); done
+pyflakes::
+ -for d in $(PYDIRS); do ($(MAKE) -C $$d pyflakes ); done