[Pkg-cli-apps-commits] [SCM] basenji branch, master, updated. b9b9f6b0b77bc62327437be981866ca1a5fdce60

Iain Lane laney at debian.org
Wed Dec 14 00:18:33 UTC 2011


The following commit has been merged in the master branch:
commit b9b9f6b0b77bc62327437be981866ca1a5fdce60
Author: Iain Lane <laney at debian.org>
Date:   Wed Dec 14 00:05:05 2011 +0000

    Add patch taken from monodevelop-debugger-gdb to allow 'make clean' to work

diff --git a/debian/patches/allow_minimal_configure_for_clean b/debian/patches/allow_minimal_configure_for_clean
new file mode 100644
index 0000000..de5c7f6
--- /dev/null
+++ b/debian/patches/allow_minimal_configure_for_clean
@@ -0,0 +1,14 @@
+Index: monodevelop-debugger-gdb-1.9.2/configure
+===================================================================
+--- monodevelop-debugger-gdb-1.9.2.orig/configure	2009-02-21 10:15:10.000000000 +0000
++++ monodevelop-debugger-gdb-1.9.2/configure	2009-02-21 10:17:06.000000000 +0000
+@@ -68,6 +68,9 @@
+ 
+ while test x$1 != x; do
+ 		case $1 in
++		--clean-only)
++				common_packages=""
++				;;
+ 		--prefix=*)
+ 				prefix=`echo $1 | sed 's/--prefix=//'`
+ 				;;
diff --git a/debian/patches/series b/debian/patches/series
index 94c5d3e..3474e43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ check_thumbnailers
 use_mono-csc_compiler
 fix_libextractor_dll_config
 bundle_gio-sharp_assembly
+allow_minimal_configure_for_clean
diff --git a/debian/rules b/debian/rules
index 6e0b92f..926e497 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,8 @@ override_dh_auto_configure:
 	./configure --prefix=/usr --config=GNOME_RELEASE
 
 override_dh_auto_clean:
-	dh_auto_clean	
+	[ -f config.make ] || ./configure --clean-only
+	dh_auto_clean
 	rm -f config.log config.make Basenji/basenji.desktop
 	find -name "*.pc" | xargs rm -rf
 

-- 
basenji



More information about the Pkg-cli-apps-commits mailing list