You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:46:17 UTC
svn commit: r1132115 - /incubator/mesos/trunk/Makefile.in
Author: benh
Date: Sun Jun 5 08:46:17 2011
New Revision: 1132115
URL: http://svn.apache.org/viewvc?rev=1132115&view=rev
Log:
Adding cscope target to Makefile.in. Closes #120.
Modified:
incubator/mesos/trunk/Makefile.in
Modified: incubator/mesos/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/Makefile.in?rev=1132115&r1=1132114&r2=1132115&view=diff
==============================================================================
--- incubator/mesos/trunk/Makefile.in (original)
+++ incubator/mesos/trunk/Makefile.in Sun Jun 5 08:46:17 2011
@@ -101,6 +101,12 @@ ctags:
#TODO(*): make the above use conditionals to handle old-school UNIX style ctags too.
#cd src; ctags --typedefs-and-c++ -I -members --declarations ../include/*.h ../include/*.c ../include/*.hpp ../include/*.cpp -o tags
+# To use scope from the command line with file generated by csope below (cscope.out),
+# run: cscope -R. In vim, you do :chdir MESOS_HOME, then :cscope add cscope.out, see
+# also http://cscope.sourceforge.net/cscope_vim_tutorial.html
+cscope:
+ find * -name *.hpp -o -name *.cpp -o -name *.c -o -name *.h | cscope -b -i -
+
test: all
$(MAKE) -C src test