From: Bruce Momjian Date: Mon, 13 Dec 1999 04:54:01 +0000 (+0000) Subject: Prevent _deadcode from showing in ctags and mkid X-Git-Tag: REL7_0~1034 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=662371cc5d56d76cc2530c10b13d535f24ce5457;p=postgresql Prevent _deadcode from showing in ctags and mkid --- diff --git a/src/tools/make_ctags b/src/tools/make_ctags index b0b04afa07..646102daef 100755 --- a/src/tools/make_ctags +++ b/src/tools/make_ctags @@ -1,7 +1,9 @@ #!/bin/sh trap "rm -f /tmp/$$" 0 1 2 3 15 rm -f ./tags -find `pwd`/ -type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags +find `pwd`/ \( -name _deadcode -a -prune \) -o \ + -type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags + sort tags >/tmp/$$ && mv /tmp/$$ tags find . -type d -print |while read DIR diff --git a/src/tools/make_mkid b/src/tools/make_mkid index 01ed0f079b..153a0176de 100755 --- a/src/tools/make_mkid +++ b/src/tools/make_mkid @@ -1,5 +1,6 @@ #!/bin/sh -find `pwd`/ -type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid -S.gen=C - +find `pwd`/ \( -name _deadcode -a -prune \) -o \ + -type f -name '*.[chyl]' -print|sed 's;//;/;g' | mkid -S.gen=C - find . -type d -print |while read DIR do