[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/2.1.2.1-1-3-gb6dfc9a

Iustin Pop iustin at debian.org
Wed May 26 23:20:23 UTC 2010


The following commit has been merged in the master branch:
commit f59d18d66d336fbc48ecfc989ea791a990cdd37a
Author: Iustin Pop <iustin at debian.org>
Date:   Thu May 27 00:23:18 2010 +0200

    Fix debian/rules clean target
    
    It was not running distclean, thus dpkg-buildpackage twice in a row was
    failing. Furthermore, the files copied in debian/ from the examples dir
    were not cleaned up properly.

diff --git a/debian/rules b/debian/rules
index d4de884..016ad43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,10 +31,13 @@ clean:
 
 	# Add here commands to clean up after the build process.
 	#$(MAKE) clean
-	#$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# this is not removed by make distclean :(
+	rm -f ganeti
 
-	rm -f debian/ganeti2.init
+	rm -f debian/ganeti2.ganeti.init
 	rm -f debian/ganeti2.ganeti.cron.d
+	rm -f debian/ganeti2.ganeti.default
 
 	dh_clean
 

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list