[SCM] kmidimon packaging branch, master, updated. debian/0.7.0-1

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 28 16:23:09 UTC 2009


The following commit has been merged in the master branch:
commit a82c9d564d67280c0e86d82850112f364989e204
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Jun 28 17:30:46 2009 +0200

    simplify clean rule in debian/rules
    
    with debhelper 7 we can list files to be removed in debian/clean, which
    allows a much simpler clean rule in debian/rules.

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..cffbc85
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,8 @@
+build-stamp
+configure-stamp
+CMakeCache.txt
+CTestTestfile.cmake
+Makefile
+cmake_install.cmake
+cmake_uninstall.cmake
+install_manifest.txt
diff --git a/debian/rules b/debian/rules
index fb4718e..cda8d20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,8 @@ build-stamp: configure-stamp
 clean: 
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
 	[ ! -f Makefile ] || $(MAKE) clean
-	rm -rf CMakeCache.txt
-	rm -rf CMakeFiles/ CMakeTmp/ CTestTestfile.cmake Makefile \
-		build/ cmake_install.cmake cmake_uninstall.cmake
+	rm -rf CMakeFiles CMakeTmp build
 	dh_clean 
 
 install: build

-- 
kmidimon packaging



More information about the pkg-multimedia-commits mailing list