summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-27 17:15:21 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-27 17:15:21 -0400
commit9d94991f51d2e0986fbc933522e32621c2c37a36 (patch)
tree15d552dc19e46c1526257a3609ac611d7b3b0dac /Makefile
parent5d637b53c5853b35c308a284956c9f1dd637c43a (diff)
downloadfunc-9d94991f51d2e0986fbc933522e32621c2c37a36.tar.gz
func-9d94991f51d2e0986fbc933522e32621c2c37a36.tar.xz
func-9d94991f51d2e0986fbc933522e32621c2c37a36.zip
util makefile in scripts/
add "make money" target in makefile that runs sloccount on all the source dirs Yeah, useful isnt it?
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2837eac..711d3c0 100755
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,10 @@ NEWRELEASE = $(shell echo $$(($(RELEASE) + 1)))
MESSAGESPOT=po/messages.pot
-DIRS = modules minion overlord func docs
-PYDIRS = modules minion overlord func
+DIRS = modules minion overlord func docs scripts
+PYDIRS = modules minion overlord func scripts
+EXAMPLEDIR = examples
+INITDIR = init-scripts
all: rpms
@@ -77,6 +79,9 @@ pychecker:
pyflakes:
-for d in $(PYDIRS); do ($(MAKE) -C $$d pyflakes ); done
+money: clean
+ -sloccount $(PYDIRS) $(EXAMPLEDIR) $(INITDIR)
+
rpms: build manpage sdist
mkdir -p rpm-build
cp dist/*.gz rpm-build/