aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/MAKE_CTAGS10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/MAKE_CTAGS b/src/MAKE_CTAGS
new file mode 100644
index 00000000000..ef99564694c
--- /dev/null
+++ b/src/MAKE_CTAGS
@@ -0,0 +1,10 @@
+#!/bin/sh
+trap "rm -f /tmp/$$" 0 1 2 3 15
+rm -f ./tags
+find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -t -a -f tags
+sort tags >/tmp/$$ && mv /tmp/$$ tags
+
+find . -type d -print |while read DIR
+do
+ [ "$DIR" != "." ] && ln -f -s `pwd`/tags $DIR/tags
+done