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 07:39:05 UTC

svn commit: r1131836 - /incubator/mesos/trunk/Makefile.in

Author: benh
Date: Sun Jun  5 05:39:04 2011
New Revision: 1131836

URL: http://svn.apache.org/viewvc?rev=1131836&view=rev
Log:
Add ctags target to Makefile.

Modified:
    incubator/mesos/trunk/Makefile.in

Modified: incubator/mesos/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/Makefile.in?rev=1131836&r1=1131835&r2=1131836&view=diff
==============================================================================
--- incubator/mesos/trunk/Makefile.in (original)
+++ incubator/mesos/trunk/Makefile.in Sun Jun  5 05:39:04 2011
@@ -38,6 +38,14 @@ doxygen:
 etags:
 	find src -name "*.cpp" -o -name "*.hpp" | grep -v "\~$$" | xargs etags -o src/TAGS
 
+CTAGS = ctags
+ctags:
+	cd src; $(CTAGS) ../include/*.h ../include/*.hpp *.h *.c *.hpp *.cpp
+
+#TODO(*): make the above use conditional 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
+ 
+
 clean:
 	$(MAKE) -C src clean