summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-27 18:06:01 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-27 18:06:01 -0400
commitba1bc60f7b855e4810494fa81d7f0e0fa9858da4 (patch)
tree029d05e6754f01f325d41b5907c4174693e154c9
parentee9b3c3a1fc5f12e472cf1eadf2c2cb9552dba1b (diff)
parent0cb7282e3592051c5ca060a6f784f9aaae5c01b3 (diff)
downloadfunc-ba1bc60f7b855e4810494fa81d7f0e0fa9858da4.tar.gz
func-ba1bc60f7b855e4810494fa81d7f0e0fa9858da4.tar.xz
func-ba1bc60f7b855e4810494fa81d7f0e0fa9858da4.zip
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func: it only seems fair to have "make money" count makefiles as well
-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