[netpanzer] 04/05: Ensure that the package can be built twice in a row.

Markus Koschany apo at moszumanska.debian.org
Sat Jan 21 04:06:54 UTC 2017


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

apo pushed a commit to branch master
in repository netpanzer.

commit a320772f8c16ee8bb9e2b40dd3b920826ed51ad6
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jan 21 04:19:01 2017 +0100

    Ensure that the package can be built twice in a row.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3b2f3f7..98acf08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,11 @@ override_dh_auto_build:
 override_dh_auto_clean:
 	dh_auto_clean
 	[ -f SConstruct ] || scons --clean
+	find . -name "*.o" -delete
+	find . -name "*.a" -delete
+	find . -name ".sconsign.dblite" -delete
+	$(RM) netpanzer
+
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/old/ChangeLog

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



More information about the Pkg-games-commits mailing list