summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/scripts/build_cscope.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/scripts/build_cscope.sh b/contrib/scripts/build_cscope.sh
new file mode 100644
index 000000000..ee48f9b54
--- /dev/null
+++ b/contrib/scripts/build_cscope.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+find . -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -o -name "*.py" -o -name "*.sh" > cscope.files
+cscope -q -R -b -i cscope.files