From 3c1bfbe746cb08f8ba4232166d24b4cf71d012ee Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@lothar.com> Date: Mon, 22 Jan 2007 01:17:39 -0700 Subject: [PATCH] Makefile: add target to count lines of code and TODOs --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 710d593b..6814a5e9 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,12 @@ figleaf-output: pyflakes: pyflakes src/allmydata +count-lines: + @echo -n "lines: " + @cat `find src -name '*.py'` |wc --lines + @echo -n "TODO: " + @grep TODO `find src -name '*.py'` | wc --lines + clean: rm -rf build rm -f debian -- 2.45.2