#!/bin/sh

#backup cvs dir
mv AlbumShaper.xcode AlbumShaper.xcode.bak

#make new project
qmake -spec macx-pbuilder -o AlbumShaper AlbumShaper.pro

#restore cvs dir and remove backup dir
mv AlbumShaper.xcode.bak/CVS AlbumShaper.xcode/CVS
rm -rf AlbumShaper.xcode.bak

#overwrite qt_isntall.sh which is all messed up since the .app bundle is not in the build directory
cp resources/macx/qt_install.sh AlbumShaper.xcode/.
