OSDN Git Service

Add execute permission.
authorBruce Momjian <bruce@momjian.us>
Tue, 8 Oct 1996 04:09:50 +0000 (04:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 8 Oct 1996 04:09:50 +0000 (04:09 +0000)
src/MAKE_CTAGS [new file with mode: 0644]

diff --git a/src/MAKE_CTAGS b/src/MAKE_CTAGS
new file mode 100644 (file)
index 0000000..ef99564
--- /dev/null
@@ -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