Debian Codegraph @

dist/s_php

raw symbols SCIP
1 #!/bin/sh -
2 # $Id$
3 #
4 # Build Windows include files.
5
6 . ./RELEASE
7
8 process()
9 {
10 src=$1.in
11 tdest=$1.out
12 dest=$1
13
14 sed -e "s/@DB_VERSION_MAJOR@/$DB_VERSION_MAJOR/g" \
15 -e "s/@DB_VERSION_MINOR@/$DB_VERSION_MINOR/g" < $src > $tdest
16
17 cmp $tdest $dest > /dev/null 2>&1 ||
18 (echo "Building $dest" && rm -f $dest && cp $tdest $dest)
19 rm -f $tdest
20 }
21
22 process ../lang/php_db4/config.m4
23 process ../lang/php_db4/config.w32