[Mageia-sysadm] [506] Fix tarball creation

Thierry Vignaud thierry.vignaud at gmail.com
Thu Feb 10 18:08:39 CET 2011


On 10 February 2011 18:03,  <root at mageia.org> wrote:
> Revision 506 Author dmorgan Date 2011-02-10 18:03:33 +0100 (Thu, 10 Feb
> 2011)
>
> Log Message
>
> Fix tarball creation

we already have a rule above that does the export.
So let's reuse it (eg: s/tar:/tar:  export/ if it's named export)

what's more, it's more robust as the -rBASE will prevent tarring more
unwanted things.

> Modified: mageia-lxde-config/trunk/Makefile
> ===================================================================
> --- mageia-lxde-config/trunk/Makefile	2011-02-10 16:58:48 UTC (rev 505)
> +++ mageia-lxde-config/trunk/Makefile	2011-02-10 17:03:33 UTC (rev 506)
> @@ -26,6 +26,7 @@
>  	svn export -q -rBASE . $(PACKAGE)-$(VERSION)
>
>  tar:
> +	svn export ../trunk $(PACKAGE)-$(VERSION)
>  	tar cvf $(PACKAGE)-$(VERSION).tar $(PACKAGE)-$(VERSION)
>  	bzip2 -9vf $(PACKAGE)-$(VERSION).tar
>  	rm -rf $(PACKAGE)-$(VERSION)


More information about the Mageia-sysadm mailing list