rm -R ~/OroboROX 2>/dev/null
cp -R ../../OroboROX/ ~
cd ~/OroboROX || exit 
rm -rf =build {arch} Linux-ix86
find . -name .arch-ids | xargs rm -Rf
find . -name *.pyc | xargs rm -f

cd src || exit
rm configure config.h 2>/dev/null
rm -Rf autom4te.cache 2>/dev/null
cd ..
VERSION=`sed -n 's/^.*<Version>\([.0-9]*\).*<\/Version>.*$/\1/p' AppInfo.xml` &&
cd ${HOME} && tar cj -f OroboROX-$VERSION.tar.bz2 OroboROX


