3 if ! [ -f configure ]; then
4 echo "./configure does not exist. Run autoconf."
8 /bin/rm -rf autom4te.cache
14 BASENAME=rote-`grep ^AC_INIT configure.ac | cut -d, -f2 | cut -d' ' -f2 | \
17 (cd .. && cp -a rote $X/$BASENAME)
18 (cd $X && find $X -name CVS -type d -exec rm -rf {} \; 2>/dev/null )
20 (cd $X && tar -zc $BASENAME) > ../$BASENAME.tar.gz
23 echo "../$BASENAME.tar.gz generated."