[mate-menu] 01/07: debian/rules: Upstream is now a proper Python package.

Mike Gabriel sunweaver at debian.org
Thu Feb 19 14:01:52 UTC 2015


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

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

commit 6e49b7ffc296b965b8d840e17d5b5a9d04b9ad18
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 19 14:51:51 2015 +0100

    debian/rules: Upstream is now a proper Python package.
---
 debian/rules | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 12150c7..5974afe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,16 @@
 #!/usr/bin/make -f
 
-DHFLAGS=--parallel
-
 %:
-	dh $@ $(DHFLAGS) --with python2
+	dh ${@} --with python2
+
+override_dh_auto_build:
+	cp po/mate-menu.pot po/mate-menu.pot.bak
+	dh_auto_build
 
-override_dh_auto_configure:
-	NONCONFIGURE=1 ./autogen.sh
-	dh_auto_configure $(DHFLAGS) --
+override_dh_auto_clean:
+	test -f po/mate-menu.pot.bak && mv po/mate-menu.pot.bak po/mate-menu.pot || true
+	rm -Rf mate_menu.egg-info/
+	dh_auto_clean
 
 get-orig-source:
-	uscan --nonconf --force-download --rename --download-current-version --destdir=..
+	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-menu.git



More information about the pkg-mate-commits mailing list