1#!/bin/sh
2
3pwd=`pwd`
4name=`basename $(pwd)`
5echo "name=$name"
6
7make distclean
8cd ..
9tar zcvf ./$name.tar.gz \
10    `find ./$name -type f -o -type l| fgrep -v .git| fgrep -v CVS | fgrep -v SCCS | \
11	fgrep -v Attic | fgrep -v "autom4te"| fgrep -v "~"|fgrep -v .db | \
12	fgrep -v .junk | fgrep -v .orig | fgrep -v "#" |fgrep -v .DS_Store| fgrep -v config. | \
13        fgrep -v .gdb`
14
15