Re: [PATCH 5/5] storage-fixup: a Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
---

Thanks, Kel.
--
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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux