[Mageia-sysadm] [326] exclude perl_checker local dir and backup files when creating tarball

root at mageia.org root at mageia.org
Thu Jan 20 08:39:45 CET 2011


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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110120/90756ea7/attachment.html>


More information about the Mageia-sysadm mailing list