[Pkg-cli-apps-commits] [SCM] monodevelop-debugger-mdb branch, master, updated. b781e350b65b73de857d8de64863da46170392ee

Mirco Bauer meebey at meebey.net
Mon Feb 23 23:31:08 UTC 2009


The following commit has been merged in the master branch:
commit b781e350b65b73de857d8de64863da46170392ee
Author: Mirco Bauer <meebey at meebey.net>
Date:   Tue Feb 24 00:17:48 2009 +0100

    - added patch for minimal configure
    - added missing .PHONY target

diff --git a/configure b/configure
index 643f1c0..d132e0e 100755
--- a/configure
+++ b/configure
@@ -68,6 +68,9 @@ check_required_packages ()
 
 while test x$1 != x; do
 		case $1 in
+		--clean-only)
+				common_packages=""
+				;;
 		--prefix=*)
 				prefix=`echo $1 | sed 's/--prefix=//'`
 				;;
diff --git a/debian/changelog b/debian/changelog
index d9abf9a..948c167 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-monodevelop-debugger-mdb (1.9.2-1~pre1) UNRELEASED; urgency=low
+monodevelop-debugger-mdb (1.9.2-1) experimental; urgency=low
 
   * Initial release. (Closes: #516433)
 
diff --git a/debian/patches/allow_minimal_configure_for_clean.patch b/debian/patches/allow_minimal_configure_for_clean.patch
new file mode 100644
index 0000000..f4bde1c
--- /dev/null
+++ b/debian/patches/allow_minimal_configure_for_clean.patch
@@ -0,0 +1,12 @@
+--- git.orig/configure
++++ git/configure
+@@ -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 7e71c1d..b6cdeb4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+allow_minimal_configure_for_clean.patch
 use_csc_compiler.patch
diff --git a/debian/rules b/debian/rules
index eac3335..c4ed4a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,11 +30,11 @@ binary-indep: build install
 	dh $@
 
 clean: clean-patched unpatch
-clean-patched:
+clean-patched: $(QUILT_STAMPFN)
 	dh clean --before dh_auto_clean
-	if [ -f config.make ]; then \
-		dh_auto_clean; \
-	fi
+	[ -f config.make ] || ./configure --clean-only
+	make clean
+	rm -f config.make config.log
 	dh clean --after dh_auto_clean
 
 get-orig-source:
@@ -50,3 +50,5 @@ get-orig-source:
 
 %:
 	dh $@
+
+.PHONY: build install binary binary-arch binary-indep clean clean-patched get-orig-source

-- 
monodevelop-debugger-mdb



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