mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-16 09:06:25 +00:00
18 lines
398 B
Text
18 lines
398 B
Text
|
#!/bin/sh -
|
||
|
# $Id$
|
||
|
#
|
||
|
# Build cscope files.
|
||
|
|
||
|
(
|
||
|
echo ../dbinc/*.in ../dbinc/*.h ../dbinc_auto/*.h;
|
||
|
cat srcfiles.in |
|
||
|
sed -e '/^#/d' \
|
||
|
-e '/^$/d' \
|
||
|
-e 's/^/..\//' \
|
||
|
-e '/\/csv_local.c/d' \
|
||
|
-e '/\/db_server_clnt.c/d' \
|
||
|
-e '/\/db_server_svc.c/d' \
|
||
|
-e '/\/db_server_xdr.c/d' \
|
||
|
-e '/\/gen_db_server.c/d' |
|
||
|
awk '{print $1}') | cscope -bkUu -i- 2>&1 | sed '/cannot find file/d'
|