[mate-tweak] 02/09: debian/rules: Do clean builds that do not change upstream files.
Mike Gabriel
sunweaver at debian.org
Thu Feb 19 15:16:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository mate-tweak.
commit 648b035c72df2415c007a1f3b92c0950dd377e2f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Feb 19 14:26:26 2015 +0100
debian/rules: Do clean builds that do not change upstream files.
---
debian/rules | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 12150c7..5100598 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,14 @@ DHFLAGS=--parallel
%:
dh $@ $(DHFLAGS) --with python2
-override_dh_auto_configure:
- NONCONFIGURE=1 ./autogen.sh
- dh_auto_configure $(DHFLAGS) --
+override_dh_auto_build:
+ cp po/mate-tweak.pot po/mate-tweak.pot.bak
+ dh_auto_build
+
+override_dh_auto_clean:
+ test -f po/mate-tweak.pot.bak && mv po/mate-tweak.pot.bak po/mate-tweak.pot || true
+ rm -Rf mate_tweak.egg-info/
+ dh_auto_clean
get-orig-source:
uscan --nonconf --force-download --rename --download-current-version --destdir=..
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-tweak.git
More information about the pkg-mate-commits
mailing list