1#!/bin/sh -
2#	$Id$
3#
4# Build cscope files.
5
6(
7echo ../dbinc/*.in ../dbinc/*.h ../dbinc_auto/*.h;
8cat srcfiles.in |
9sed -e '/^#/d' \
10    -e '/^$/d' \
11    -e 's/^/..\//' \
12    -e '/\/csv_local.c/d' \
13    -e '/\/db_server_clnt.c/d' \
14    -e '/\/db_server_svc.c/d' \
15    -e '/\/db_server_xdr.c/d' \
16    -e '/\/gen_db_server.c/d' |
17awk '{print $1}') | cscope -bkUu  -i- 2>&1 | sed '/cannot find file/d'
18