#!/bin/sh
SRCTREE=efl++-$1


make clean
rm -rf /tmp/$SRCTREE
mkdir -p /tmp/$SRCTREE
cp -fa AUTHORS ChangeLog README *.pro src data examples /tmp/$SRCTREE
pushd /tmp
find $SRCTREE -name "Makefile"|xargs rm -f
find $SRCTREE -name ".obj"|xargs rm -rf
find $SRCTREE -name ".moc"|xargs rm -rf
find $SRCTREE -name "CVS"|xargs rm -rf
find $SRCTREE -name ".#"|xargs rm -f
tar cjf /tmp/efl++_$1.tar.bz2 $SRCTREE
popd

