summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/iptables/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-03-28 15:29:10 -0400
committerAdrian Likins <alikins@redhat.com>2008-03-28 15:29:10 -0400
commita2d5d31e8d0cec0e700d6a95e3b912e607bbf84f (patch)
tree9d1d4b2bfe8922dce5beb5f1cb5c4335affa5671 /func/minion/modules/iptables/Makefile
parent4054792be014a9b7373a5b909f5052ab271c2307 (diff)
downloadthird_party-func-a2d5d31e8d0cec0e700d6a95e3b912e607bbf84f.tar.gz
third_party-func-a2d5d31e8d0cec0e700d6a95e3b912e607bbf84f.tar.xz
third_party-func-a2d5d31e8d0cec0e700d6a95e3b912e607bbf84f.zip
add iptables module from Krzysztof A. Adamski <krzysztofa@gmail.com>
add some basic test cases to the unittests (needs expanded) add file info to setup.py add Makefiles to minion/modules/netapp/* and minion/modules/iptables/* to make make clean work
Diffstat (limited to 'func/minion/modules/iptables/Makefile')
-rwxr-xr-xfunc/minion/modules/iptables/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/func/minion/modules/iptables/Makefile b/func/minion/modules/iptables/Makefile
new file mode 100755
index 0000000..15750f7
--- /dev/null
+++ b/func/minion/modules/iptables/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