summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-27 17:45:47 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-27 17:45:47 -0400
commit2c33a3f7102e32d7c7f6c48d5bde658ff6638c20 (patch)
treee931b34b58927d112a962f7807d754959059de86 /scripts
parent49649c3171b331b70e498fd9721eca485294a725 (diff)
parentaac0784a0f84c848f47955c57d6fe0dcbd49c035 (diff)
downloadthird_party-func-2c33a3f7102e32d7c7f6c48d5bde658ff6638c20.tar.gz
third_party-func-2c33a3f7102e32d7c7f6c48d5bde658ff6638c20.tar.xz
third_party-func-2c33a3f7102e32d7c7f6c48d5bde658ff6638c20.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func: util makefile in scripts/
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100755
index 0000000..86a3db8
--- /dev/null
+++ b/scripts/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
+