From e72215dd115786c348fee5b268989e9f5f96c840 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 27 Sep 2007 17:45:15 -0400 Subject: it only seems fair to have "make money" count makefiles as well --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit