mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
Prevent _deadcode from showing in ctags and mkid
This commit is contained in:
parent
a8ae19ec3d
commit
662371cc5d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user