[box2d] 17/31: Ensure that the package can be built twice in a row

Markus Koschany apo-guest at moszumanska.debian.org
Fri Mar 13 17:28:31 UTC 2015


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

apo-guest pushed a commit to branch master
in repository box2d.

commit 6fbefab80b3dbf40cdb47ba7bc68083552806b40
Author: Markus Koschany <apo at gambaru.de>
Date:   Fri Nov 8 17:18:10 2013 +0000

    Ensure that the package 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 35f9c0c..f1139d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ box2d (2.3.0+ds-1) experimental; urgency=low
   * Update debian/copyright to copyright format 1.0.
   * Update to Standards-Version 3.9.5, no changes.
   * Add a new get-orig-source target to debian/rules.
+  * Ensure that Box2D can be built twice in a row and override dh_clean.
 
   [ Evgeni Golov ]
   * Correct Vcs-* URLs to point to anonscm.debian.org
diff --git a/debian/rules b/debian/rules
index e9b59db..b7f7eb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,10 @@ override_dh_auto_build-indep:
 override_dh_installchangelogs:
 	dh_installchangelogs Box2D/Changes.txt
 
+override_dh_clean:
+	dh_clean
+	$(RM) -r Box2D/Documentation/API
+
 override_dh_strip:
 	dh_strip --dbg-package=libbox2d$(VER)-dbg
 

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



More information about the Pkg-games-commits mailing list