[Mageia-dev] [779] Fix tarball

Thierry Vignaud thierry.vignaud at gmail.com
Thu Mar 31 12:21:50 CEST 2011


On 31 March 2011 12:15, <root at mageia.org> wrote:
>
> Revision 779 Author dmorgan Date 2011-03-31 12:15:57 +0200 (Thu, 31 Mar 2011)
>
> Log Message
>
> Fix tarball

(...)

> Modified: theme/mageia-theme/trunk/Makefile
> ===================================================================
> --- theme/mageia-theme/trunk/Makefile	2011-03-31 10:13:27 UTC (rev 778)
> +++ theme/mageia-theme/trunk/Makefile	2011-03-31 10:15:57 UTC (rev 779)
> @@ -80,7 +80,8 @@
>  	mkdir $(NAME)-$(VERSION)
>
>  tar:
> -	tar cvf $(NAME).tar $(NAME)-$(VERSION)
> +	tar cvf $(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
> +	xz $(NAME)-$(VERSION).tar
>  	rm -rf $(NAME)-$(VERSION)

simpler & faster (no need to write down big tarball on disk):
     tar cfa $(NAME).tar.xz $(NAME)-$(VERSION)

I also suggest removing the "v" option as it's useless printed garbage


More information about the Mageia-dev mailing list