[Cdd-commits] r882 - in cdd/trunk/cdd: debian devtools

CDD Subversion Commit noreply at alioth.debian.org
Mon Jun 30 11:43:33 UTC 2008


Author: tille
Date: Mon Jun 30 11:43:33 2008
New Revision: 882

Modified:
   cdd/trunk/cdd/debian/changelog
   cdd/trunk/cdd/devtools/rules
Log:
Avoid rsync to build dist target (Closes: #488262)


Modified: cdd/trunk/cdd/debian/changelog
==============================================================================
--- cdd/trunk/cdd/debian/changelog	(original)
+++ cdd/trunk/cdd/debian/changelog	Mon Jun 30 11:43:33 2008
@@ -1,3 +1,10 @@
+cdd (0.5.3) unstable; urgency=low
+
+  * Avoid rsync to build dist target
+    Closes: #488262
+
+ -- Andreas Tille <tille at debian.org>  Mon, 30 Jun 2008 13:29:11 +0200
+
 cdd (0.5.2) unstable; urgency=low
 
   [ Jonas Smedegaard ]

Modified: cdd/trunk/cdd/devtools/rules
==============================================================================
--- cdd/trunk/cdd/devtools/rules	(original)
+++ cdd/trunk/cdd/devtools/rules	Mon Jun 30 11:43:33 2008
@@ -70,10 +70,11 @@
 	rm -rf $(DISTDIR)
 	mkdir $(DISTDIR)
 	chmod 777 $(DISTDIR)
-	rsync -a --exclude $(DISTDIR) \
-	         --exclude CVS --exclude .svn --exclude svn-commit.tmp \
-	         * $(DISTDIR)
-	rm -f `find . -name "*~"`
+	# copy with exception of VCS stuff
+	tar -cf - --exclude $(DISTDIR) \
+	          --exclude CVS --exclude .svn --exclude svn-commit.tmp . | \
+	    (cd $(DISTDIR); tar xfBp -)
+	rm -f `find $(DISTDIR) -name "*~"`
 	GZIP=-9 tar -czf ../$(CDDNAME)_$(VERSION).tar.gz $(DISTDIR)
 	rm -rf $(DISTDIR)
 	# remove auto generated files from SVN dir where it should not be stored



More information about the Cdd-commits mailing list