blob: a7652381a4f5bf46d91aa91018d5b200b2e7d9e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#!/bin/sh -
# $Id$
#
# Build tags files.
cd tagdir
files=`echo ../../src/dbinc/*.h \
../../src/dbinc/*.in \
../../src/blob/*.[ch] \
../../src/btree/*.[ch] \
../../src/clib/*.[ch] \
../../src/common/*.[ch] \
../../src/crypto/*.[ch] \
../../src/crypto/mersenne/*.[ch] \
../../src/crypto/rijndael/*.[ch] \
../../src/db/*.[ch] \
../../lang/db185/*.[ch] \
../../lang/dbm/*.[ch] \
../../src/dbreg/*.[ch] \
../../src/env/*.[ch] \
../../src/fileops/*.[ch] \
../../src/hash/*.[ch] \
../../src/heap/*.[ch] \
../../src/hmac/*.[ch] \
../../src/hsearch/*.[ch] \
../../src/lock/*.[ch] \
../../src/log/*.[ch] \
../../src/mp/*.[ch] \
../../src/mutex/*.[ch] \
../../src/os/*.[ch] \
../../src/os_qnx/*.[ch] \
../../src/qam/*.[ch] \
../../src/rep/*.[ch] \
../../src/repmgr/*.[ch] \
../../src/sequence/*.[ch] \
../../lang/tcl/*.[ch] \
../../src/txn/*.[ch] \
../../src/xa/*.[ch] \
../../lang/cxx/*.cpp \
../../lang/java/libdb_java/*.[ch] | sed 's/[^ ]*stub.c//g'`
f=tags
echo "Building $f"
rm -f $f
# Figure out what flags this ctags accepts.
flags=""
if ctags -d ../../src/db/db.c 2>/dev/null; then
flags="-d $flags"
fi
if ctags -t ../../src/db/db.c 2>/dev/null; then
flags="-t $flags"
fi
if ctags -w ../../src/db/db.c 2>/dev/null; then
flags="-w $flags"
fi
ctags $flags $files 2>/dev/null
for i in test/perf testrrepmgr testrserver; do
test -d ../../$i || continue
f=../../$i/tags
echo "Building $f"
(cd ../../$i && ctags $flags *.[ch] 2>/dev/null)
done
|