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

Mirco Bauer meebey at meebey.net
Thu Feb 19 21:07:51 UTC 2009


The following commit has been merged in the master branch:
commit 63c6c305b2b33b617de804eadee3be451b2874d8
Author: Mirco Bauer <meebey at meebey.net>
Date:   Wed Feb 18 23:30:43 2009 +0100

    only run dh_auto_clean if config.make exists

diff --git a/debian/rules b/debian/rules
index 350fe01..68fb712 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,6 @@ include /usr/share/cli-common/cli.make
 
 build: build-stamp
 build-stamp:
-	# poor man's configure
 	dh build --before dh_auto_configure
 	./configure --prefix=/usr
 	dh build --after dh_auto_configure
@@ -29,6 +28,13 @@ binary-arch:
 binary-indep: build install
 	dh $@
 
+clean:
+	dh $@ --before dh_auto_clean
+	if [ -f config.make ]; then \
+		dh_auto_clean; \
+	fi
+	dh $@ --after dh_auto_clean
+
 get-orig-source:
 	uscan \
 		--package $(DEB_SOURCE_NAME) \

-- 
monodevelop-debugger-mdb



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