#!/bin/bash

# This script will make and install everything, as well as create
# all rpms

version=`cat configure | grep "VERSION=" | grep -v PACKAGE_VERSION | sed -e 's/VERSION=//g' | sed -e 's/ //g'`
srcdir=`pwd`

./configure
make
for dir in ${srcdir}/plugins/*; do
   cd ${dir}
   ./configure
   make
done

cd ${srcdir}
su -c ./makeallroot



