[Pvfs2-cvs] commit by pw in pvfs2: Makefile.in

CVS commit program cvs at parl.clemson.edu
Wed Jul 18 16:18:19 EDT 2007


Update of /projects/cvsroot/pvfs2
In directory parlweb1:/tmp/cvs-serv4936

Modified Files:
	Makefile.in 
Log Message:
Another swat at ctags.  This time getting it right.


Index: Makefile.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/Makefile.in,v
diff -u -p -p -u -r1.243 -r1.244
--- Makefile.in	18 Jul 2007 07:02:27 -0000	1.243
+++ Makefile.in	18 Jul 2007 20:18:19 -0000	1.244
@@ -707,17 +707,18 @@ cscope:
 
 # Build editor tags file over all source files *.[ch] *.sm and
 # some known scripts.  Grab the config files from the build dir.
-# If the build happens to be the source, ignore all sm->c generated
-# files with the help of uniq.
+# Ignore all generated C files by echoing them and trusting uniq to
+# throw away the duplicates.  Echo them twice so they do not survive
+# uniq for out-of-tree builds.
 tags:
 	( find $(addprefix $(srcdir)/,$(MODULES)) $(srcdir)/include \
 	    $(srcdir)/src/kernel/linux-2.6 \
 	    -maxdepth 1 -name '*.[ch]' -o -name '*.sm' ;\
-	  find . -name pvfs2-config.h ;\
-	  find . -name pvfs2-test-config.h ;\
+	  find . -maxdepth 1 -name pvfs2-config.h ;\
 	  echo $(srcdir)/src/apps/admin/pvfs2-genconfig ;\
+	  echo $(patsubst %,./%,$(SMCGEN) $(SMCGEN)) | tr ' ' '\012' ;\
 	) | sort | uniq -u | ctags -L- --excmd=pattern -B --extra=+f \
-	  --langmap=c:+.sm -I __hidden,DOTCONF_CB
+	  --langmap=c:+.sm -I __hidden,DOTCONF_CB,nested,machine=struct
 
 # rule for running code check
 codecheck:



More information about the Pvfs2-cvs mailing list