[bzflag] 30/36: Add override for dh_clean and ensure that the game can be built twice in a row.

Markus Koschany apo at moszumanska.debian.org
Fri Jul 22 11:16:16 UTC 2016


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

apo pushed a commit to branch master
in repository bzflag.

commit ae41a2052a62df6ba281d9a936a0440b78256bff
Author: Markus Koschany <apo at debian.org>
Date:   Fri Jul 22 09:13:18 2016 +0200

    Add override for dh_clean and ensure that the game 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 7fe0729..3c4ad06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ bzflag (2.4.6-1) unstable; urgency=medium
     that are unwarranted.
   * Update debian/copyright to copyright format 1.0. Update license information
     for new release.
+  * Add override for dh_clean and ensure that the game can be built twice in a row.
 
  -- Markus Koschany <apo at debian.org>  Fri, 22 Jul 2016 08:46:24 +0200
 
diff --git a/debian/rules b/debian/rules
index 8313254..f7386ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,5 +47,9 @@ ifneq (,$(findstring bzflag-server, $(shell dh_listpackages)))
 	chown -R games:games debian/bzflag-server/var/log/bzflag
 endif
 
+override_dh_clean:
+	dh_clean
+	$(RM) -r ccache
+
 get-orig-source:
 	uscan --verbose --download-current-version --force-download

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



More information about the Pkg-games-commits mailing list