[yum-cvs] yum-utils: Makefile

Tim Lauridsen timlau at linux.duke.edu
Tue Jul 24 08:24:30 UTC 2007


 Makefile |    1 +
 1 file changed, 1 insertion(+)

commit 1d15dc62cc1696e99c07642d6184373b352645f8
Author: Tim Lauridsen <tla at rasmil.dk>
Date:   Tue Jul 24 10:23:39 2007 +0200

    Remove .git directory from tarball

diff --git a/Makefile b/Makefile
index 4a18f63..5808c1c 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ archive:
 	@dir=$$PWD; cd /tmp; cp -a $$dir ${PKGNAME}
 	@rm -f /tmp/${PKGNAME}/${PKGNAME}-daily.spec
 	@mv /tmp/${PKGNAME} /tmp/${PKGNAME}-$(VERSION)
+	@rm -rf /tmp/${PKGNAME}-$(VERSION)/.git
 	@dir=$$PWD; cd /tmp; tar cvzf $$dir/${PKGNAME}-$(VERSION).tar.gz ${PKGNAME}-$(VERSION)
 	@rm -rf /tmp/${PKGNAME}-$(VERSION)	
 	@echo "The archive is in ${PKGNAME}-$(VERSION).tar.gz"



More information about the Yum-cvs-commits mailing list