make  install  &&

if echo "$OPTS" | grep -q 'enable-test'; then
  sedit 's|^set tcllib.*$||' ../test/include.tcl &&
  echo "set tcllib $INSTALL_ROOT/usr/lib/libdb_tcl-${VERSION%.*}.so" >> ../test/include.tcl &&
  mkdir -p $INSTALL_ROOT/usr/share/$SPELL &&
  cp -R ../test $INSTALL_ROOT/usr/share/$SPELL/
fi
