[cig-commits] r12943 - in cs/cigma/trunk: . build

luis at geodynamics.org luis at geodynamics.org
Wed Sep 24 04:10:27 PDT 2008


Author: luis
Date: 2008-09-24 04:10:27 -0700 (Wed, 24 Sep 2008)
New Revision: 12943

Modified:
   cs/cigma/trunk/Makefile.am
   cs/cigma/trunk/build/cleanup.sh
Log:
Search source files for pending tasks (marked by XXX or TODO)

Modified: cs/cigma/trunk/Makefile.am
===================================================================
--- cs/cigma/trunk/Makefile.am	2008-09-24 07:39:00 UTC (rev 12942)
+++ cs/cigma/trunk/Makefile.am	2008-09-24 11:10:27 UTC (rev 12943)
@@ -13,6 +13,11 @@
 # Distribute these directories
 DIST_SUBDIRS = $(SUBDIRS)
 
+
+###############################
+## Additional makefile rules ##
+###############################
+
 # Makefile rule for running rebuild.sh
 .PHONY: rebuild rebuild-clean
 rebuild: all
@@ -27,4 +32,11 @@
 clean-slate: distclean
 	./build/cleanup.sh
 
+# Makefile rule for collecting task markers in source files
+.PHONY: tasks
+tasks:
+	grep -r XXX: ./src > ./pending-tasks.txt || true
+	grep -r TODO: ./src >> ./pending-tasks.txt || true
+	@echo "Created 'pending-tasks.txt'"
+
 # EOF

Modified: cs/cigma/trunk/build/cleanup.sh
===================================================================
--- cs/cigma/trunk/build/cleanup.sh	2008-09-24 07:39:00 UTC (rev 12942)
+++ cs/cigma/trunk/build/cleanup.sh	2008-09-24 11:10:27 UTC (rev 12943)
@@ -15,5 +15,6 @@
 rm -rf aclocal.m4 libtool configure
 rm -rf config.status config.log
 rm -rf stamp-h1 config.h 'config.h.in' 'config.h.in~'
+rm -rf pending-tasks.txt
 
 exit 0



More information about the cig-commits mailing list