[cube2] 08/08: Override dh_clean and ensure that cube2 can be built twice in a row.

Markus Koschany apo at moszumanska.debian.org
Mon Aug 8 14:26:04 UTC 2016


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

apo pushed a commit to branch master
in repository cube2.

commit d85daeb002f04b062df801042602816a8fd07a48
Author: Markus Koschany <apo at debian.org>
Date:   Mon Aug 8 16:14:14 2016 +0200

    Override dh_clean and ensure that cube2 can be built twice in a row.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 85bd173..bf199f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ cube2 (0.0.20130203+dfsg-2) unstable; urgency=medium
   * Drop cube2-dbg package and use the automatic -dbgsym package instead.
   * Update copyright years.
   * Drop obsolete lintian-overrides.
+  * Override dh_clean and ensure that cube2 can be built twice in a row.
 
  -- Markus Koschany <apo at debian.org>  Mon, 08 Aug 2016 16:09:03 +0200
 
diff --git a/debian/rules b/debian/rules
index 2d3881d..f471154 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,3 +20,7 @@ override_dh_install:
 	mv sauer_client cube2_client
 	mv sauer_server cube2_server
 	dh_install
+
+override_dh_clean:
+	dh_clean
+	$(RM) cube2_client cube2_server

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/cube2.git



More information about the Pkg-games-commits mailing list