From 9d94991f51d2e0986fbc933522e32621c2c37a36 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 27 Sep 2007 17:15:21 -0400 Subject: util makefile in scripts/ add "make money" target in makefile that runs sloccount on all the source dirs Yeah, useful isnt it? --- scripts/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 scripts/Makefile (limited to 'scripts') 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 + -- cgit