1 VER=$(shell cd .. ; basename `pwd`)
5 ( cd ../.. ; tar cf - $(VER) --exclude .git --exclude dist ) | ( cd tmp ; tar xf - )
6 ( cd tmp/$(VER) ; rm -rf cf cf.ucw ; mv cf.dist cf )
7 ( cd tmp ; tar czvvf /tmp/$(VER).tar.gz $(VER) )
11 if [ -f ../Makefile ] ; then cd .. ; make distclean ; fi
12 rm -f `find .. -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`