summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-27 17:45:15 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-27 17:45:15 -0400
commite72215dd115786c348fee5b268989e9f5f96c840 (patch)
treeb38a4149ed9015f8205f962e203875d9900df97a /Makefile
parentaac0784a0f84c848f47955c57d6fe0dcbd49c035 (diff)
downloadfunc-e72215dd115786c348fee5b268989e9f5f96c840.zip
func-e72215dd115786c348fee5b268989e9f5f96c840.tar.gz
func-e72215dd115786c348fee5b268989e9f5f96c840.tar.xz
it only seems fair to have "make money" count makefiles as well
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 711d3c0..eea6bb1 100755
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ NEWRELEASE = $(shell echo $$(($(RELEASE) + 1)))
MESSAGESPOT=po/messages.pot
+TOPDIR = $(shell pwd)
DIRS = modules minion overlord func docs scripts
PYDIRS = modules minion overlord func scripts
EXAMPLEDIR = examples
@@ -80,7 +81,7 @@ pyflakes:
-for d in $(PYDIRS); do ($(MAKE) -C $$d pyflakes ); done
money: clean
- -sloccount $(PYDIRS) $(EXAMPLEDIR) $(INITDIR)
+ -sloccount --addlang "makefile" $(TOPDIR) $(PYDIRS) $(EXAMPLEDIR) $(INITDIR)
rpms: build manpage sdist
mkdir -p rpm-build