[SCM] projectm packaging branch, master, updated. upstream/2.0.1+dfsg-39-g2bb7ac3

ximion-guest at users.alioth.debian.org ximion-guest at users.alioth.debian.org
Sun Jun 27 19:13:10 UTC 2010


The following commit has been merged in the master branch:
commit 2bb7ac3fce8e71ec1d00f725bf80ed09e057b74b
Author: Matthias Klumpp <matthias at nlinux.org>
Date:   Sun Jun 27 21:12:31 2010 +0200

    Remove all files generated during build
    
    * Fixes lintian warning about ignored make clean errors
      and now removes the build directory after build.

diff --git a/debian/rules b/debian/rules
index 80e30a9..3c1a1af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,9 @@ build:
 	dh $@
 
 override_dh_auto_clean:
-	-$(MAKE) --directory=$(BUILD_DIR) clean
+	[ ! -f $(BUILD_DIR) ] || $(MAKE) --directory=$(BUILD_DIR) clean
+	[ ! -f $(BUILD_DIR) ] || rm -rf $(BUILD_DIR)
+	
 	# "Make clean" forgets these files
 	rm -f $(CURDIR)/src/libprojectM/libprojectM.pc
 	rm -f $(CURDIR)/src/libprojectM/config.inp

-- 
projectm packaging



More information about the pkg-multimedia-commits mailing list