#!/bin/bash

#This is a convenience script that allows the user to
#install as usual with ./configure, make, make install
#THIS WAS NOT GENERATED BY AUTOCONF
#MoneyPenny is a qmake based project


if test -x  `which qmake` 
  then
    echo "Removing old Makefiles"
    rm Makefile
    echo "Running qmake to create Makefiles"
    export PREFIX=/usr
    qmake moneypenny.pro
    echo "Done"
  else 
    echo "Could not find qmake. Please check your Qt installation."
    exit 1
fi 