[Ocfs2-commits] khackel commits r1201 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jun 23 16:08:42 CDT 2004


Author: khackel
Date: 2004-06-23 15:08:41 -0500 (Wed, 23 Jun 2004)
New Revision: 1201

Modified:
   trunk/src/Cscope.make
Log:
made it more betterish

Modified: trunk/src/Cscope.make
===================================================================
--- trunk/src/Cscope.make	2004-06-23 17:25:51 UTC (rev 1200)
+++ trunk/src/Cscope.make	2004-06-23 20:08:41 UTC (rev 1201)
@@ -1,7 +1,7 @@
+CSCOPEFILES=$(HFILES) $(CFILES)
+CSCOPEFILES+=$(KERNELINC)/../fs/*.c $(KERNELINC)/../fs/jbd/*.c
+
 cscope:
 	rm -f cscope.*
-	echo "-k" >> cscope.files
-	echo "-I ." >> cscope.files
-	find . -name '*.c' -print >>cscope.files
-	find . -name '*.h' -print >>cscope.files
+	printf -- '-k -I$(KERNELINC)/linux/ -I$(KERNELINC)/asm/\n-I .\n%s\n' $(CSCOPEFILES) > cscope.files
 	cscope -b



More information about the Ocfs2-commits mailing list