-
-dist_tmp=dist_tmp/userv-utils-$(VERSION)
-dist_prune=\( -name CVS -o -name 'dist_tmp*' \)
-dist: distclean
- rm -rf dist_tmp*
- mkdir dist_tmp $(dist_tmp)
- find . $(dist_prune) -prune -o -type d -print | \
- sed -e 's#.*#mkdir -p $(dist_tmp)/&#' | sh
- find . $(dist_prune) -prune -o -type f -print | \
- sed -e 's#.*#ln & $(dist_tmp)/&#' | sh
- cd dist_tmp && tar cf ../$(dist_tmp).tar `basename $(dist_tmp)`
- gzip -9 $(dist_tmp).tar
- mv $(dist_tmp).tar.gz .