[Mageia-sysadm] [326] exclude perl_checker local dir and backup files when creating tarball
Thierry Vignaud
thierry.vignaud at gmail.com
Thu Jan 20 09:44:50 CET 2011
On 20 January 2011 08:39, <root at mageia.org> wrote:
> Revision 326 Author blino Date 2011-01-20 08:39:44 +0100 (Thu, 20 Jan 2011)
>
> Log Message
>
> exclude perl_checker local dir and backup files when creating tarball
I'd do something like this instead (more robust):
svn export -q -rBASE . $(PACKAGE)-$(VERSION)
> Modified Paths
>
> build_system/iurt/trunk/Makefile
>
> Modified: build_system/iurt/trunk/Makefile
> ===================================================================
> --- build_system/iurt/trunk/Makefile 2011-01-20 07:36:21 UTC (rev 325)
> +++ build_system/iurt/trunk/Makefile 2011-01-20 07:39:44 UTC (rev 326)
> @@ -37,7 +37,7 @@
> rm -rf $(PACKAGE)-$(VERSION)
>
> localcopy:
> - tar c --exclude=.svn $(FILES) | tar x -C $(PACKAGE)-$(VERSION)
> + tar c --exclude=.svn --exclude=.perl_checker --exclude='*~' $(FILES) | tar
> x -C $(PACKAGE)-$(VERSION)
>
> localrpm: tar $(RPM)
> cp -f $(NAME).tar $(RPM)/SOURCES
>
>
> _______________________________________________
> Mageia-sysadm mailing list
> Mageia-sysadm at mageia.org
> https://www.mageia.org/mailman/listinfo/mageia-sysadm
>
>
--
> R : Tu vois !
> > Q : Tu crois ?
> > > R : Ça casse l'ordre chronologique de l'échange.
> > > > Q : En quoi répondre au dessus est-il gênant ?
More information about the Mageia-sysadm
mailing list