Kel Modderman wrote: > On Wednesday 12 November 2008 15:28:31 Tejun Heo wrote: >> Kel Modderman wrote: >>> +dist: clean >>> + git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD \ >>> + $(FILES) | tar -C.. -xf - >>> + tar -czvf ../$(NAME)-$(VERSION).tar.gz -C.. $(NAME)-$(VERSION)/ >>> + $(RM) -r ../$(NAME)-$(VERSION)/ >> Why untar and tar again? >> > > Don't have a reason. This is probably better: > --- > dist: clean > git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD \ > $(FILES) | gzip > ../$(NAME)-$(VERSION).tar.gz Updated to create tarball in the source directory as you never know you'll have write access to .. && git-archive doesn't mind having extra files lying around anyway. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html