#!/bin/sh - # $Id: s_perl,v 1.2 2003/03/31 03:06:34 mjc Exp $ # # Build config for the Perl API with our default paths. . RELEASE PERL_SRCDIR=../src/perl f=$PERL_SRCDIR/config t=/tmp/__t trap 'rm -f $t; exit 0' 0 1 2 3 13 15 sed -e "s!@DBXML_VERSION_MAJOR@!$DBXML_VERSION_MAJOR!g" \ -e "s!@DBXML_VERSION_MINOR@!$DBXML_VERSION_MINOR!g" \ -e "s!@DBXML_VERSION_PATCH@!$DBXML_VERSION_PATCH!g" \ -e "s!@TOP@!../..!g" \ -f lib_paths.sed $f.in > $t cmp $t $f > /dev/null 2>&1 || (echo "Building $f" && rm -f $f && cp $t $f && chmod 444 $f)