[sslh] [PATCH 4/5] cscope: add cscope tagging support

Jason Cooper jason at lakedaemon.net
Mon Aug 5 19:33:34 CEST 2013


Signed-off-by: Jason Cooper <jason at lakedaemon.net>
---
 .gitignore | 1 +
 Makefile   | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 6d53fe8..f0a8563 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 *.swp
 *.swo
 *.o
+cscope.*
 echosrv
 sslh-fork
 sslh-select
diff --git a/Makefile b/Makefile
index ddad6d2..f3a8bea 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ uninstall:
 	update-rc.d sslh remove
 
 distclean: clean
-	rm -f tags
+	rm -f tags cscope.*
 
 clean:
 	rm -f sslh-fork sslh-select echosrv $(MAN) *.o *.gcov *.gcno *.gcda *.png *.html *.css *.info 
@@ -83,6 +83,10 @@ clean:
 tags:
 	ctags --globals -T *.[ch]
 
+cscope:
+	-find . -name "*.[chS]" >cscope.files
+	-cscope -b -R
+
 test:
 	./t
 
-- 
1.8.3.2




More information about the sslh mailing list