# brew-completion: bash completion function for Homebrew (brew command)
-# Copyright (c)1020 Alexander Barton <alex@barton.de>
+# Copyright (c)2010 Alexander Barton <alex@barton.de>
# This is free software and published under the terms of the GNU
# General Public License, see the file COPYING for details.
maintainer-clean: distclean
dist:
- rel=`grep "^>" ChangeLog | awk "{print \\\$$4 }"`; \
- tar cvzf $(NAME)-r$$rel.tar.gz \
+ rel=`grep "^>" ChangeLog | awk "{print \\\$$4 }" | head -n 1`; \
+ COPYFILE_DISABLE=true tar cvzf $(NAME)-r$$rel.tar.gz \
--exclude ".git" --exclude "*.tar.gz" --exclude "*.tgz" \
--exclude "._*" --exclude "*~" --exclude "*.bak" \
-C .. `basename $$PWD`