summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 02:30:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 02:30:19 -0400
commiteaccff2932451cc27c4e5e91304e6e3fcbbd6845 (patch)
treec89a7ef356dfdae980d67f28f5c1a9c02d6bd29a
parent6ccacde6967442ed044f4495382fe855a55f444e (diff)
downloadfork-ledger-eaccff2932451cc27c4e5e91304e6e3fcbbd6845.tar.gz
fork-ledger-eaccff2932451cc27c4e5e91304e6e3fcbbd6845.tar.bz2
fork-ledger-eaccff2932451cc27c4e5e91304e6e3fcbbd6845.zip
Added a 'sloc' build target, for showing total lines of code.
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ef2dfa56..194c77a7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -525,6 +525,9 @@ report: all
genhtml -o doc/report doc/report/ledger_cov.info
@echo Coverage reported generated\; now open doc/report/index.html
+sloc:
+ sloccount $(srcdir)/src $(srcdir)/python $(srcdir)/lisp $(srcdir)/test
+
######################################################################
STAGING = /tmp/ledger