]> arthur.barton.de Git - brew-completion.git/blobdiff - Makefile
Updated ChangeLog for release 7
[brew-completion.git] / Makefile
index ba8dd9b6af114239c824e7acfda0b031e976ac21..f6c225a87010ba084fa9639ea2f064bd3979b6c6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # 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.
 
@@ -18,11 +18,11 @@ distclean: clean
 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" \
-        ../`basename $$PWD`
+        -C .. `basename $$PWD`
 
 distcheck: check dist