[mate-dock-applet] 03/18: debian/rules: Switch over to CDBS.

Mike Gabriel sunweaver at debian.org
Mon Feb 15 04:44:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-dock-applet.

commit a0dcc253c6a14196d1c1a93d09588a18922fba57
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Feb 14 08:03:55 2016 +0100

    debian/rules: Switch over to CDBS.
---
 debian/control |  1 +
 debian/rules   | 19 ++++++++-----------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index 9a7ffaa..216d3fb 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian MATE Packaging Team <pkg-mate-team at lists.alioth.debian.org>
 Uploaders: Martin Wimpress <code at flexion.org>,
            Mike Gabriel <sunweaver at debian.org>,
 Build-Depends: autotools-dev,
+               cdbs (>= 0.4.93~),
                debhelper (>= 9),
                dh-autoreconf,
                libglib2.0-dev,
diff --git a/debian/rules b/debian/rules
index 1b9ff28..a7cdd25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,14 @@
 #!/usr/bin/make -f
+# -*- makefile -*-
 
-%:
-	dh $@ --with python3,autoreconf
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-override_dh_auto_configure:
-	autoconf
-	automake --add-missing
-	autoreconf
-	./configure --prefix=/usr
-
-clean:
-	dh_autoreconf_clean
-	dh_clean
+DEB_VERBOSE_ALL = 1
+DH_VERBOSE = 1
+DEB_CONFIGURE_EXTRA_FLAGS += --prefix=/usr
+DEB_DH_INSTALL_ARGS += --fail-missing
 
 get-orig-source:
 	uscan --noconf --force-download --rename --download-current-version --destdir=..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-dock-applet.git



More information about the pkg-mate-commits mailing list