[Debburn-devel] [PATCH] "debian/rules clean" does not clean completely

Peter Samuelson peter at p12n.org
Tue Sep 5 07:09:17 UTC 2006


[Ryan Finnie]
> It appears the clean target in debian/rules does not clean everything
> out, and leaves some objects.

Quite so, thanks for noticing.


Index: debian/rules
===================================================================
--- debian/rules	(revisione 214)
+++ debian/rules	(copia locale)
@@ -41,6 +41,7 @@
 	dh_testroot
 	-rm -f 3rd-party/zisofs_tools/config.log 3rd-party/zisofs_tools/config.status
 	-./.clean
+	$(MAKE) -C 3rd-party/zisofs_tools clean
 	rm -f build-debstamp install-debstamp conf/config.sub conf/config.guess
 	dh_clean -k
 	 # clean up the stuff dh_clean leaves behind
@@ -51,7 +52,6 @@
 	-rm -rf `find . -name "\.deps"`
 	-rm -rf `find . -name "\.libs"`
 	-rm -rf `find . -name "*\.rej"`
-	-rm -rf zisofs_tools
 	-rm -f wodim.mmap
 	-rm -rf build
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debburn-devel/attachments/20060905/072ffdf6/attachment.pgp


More information about the Debburn-devel mailing list