[etw] 07/08: Ensure that etw can be built twice in a row.

Markus Koschany apo-guest at moszumanska.debian.org
Mon Aug 8 12:09:45 UTC 2016


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

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

commit 95d84621ffe85e11cfdc99eeefd7e4b57107577b
Author: Markus Koschany <apo at debian.org>
Date:   Mon Aug 8 13:44:11 2016 +0200

    Ensure that etw can be built twice in a row.
---
 debian/changelog | 1 +
 debian/rules     | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 22ec008..902c964 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ etw (3.6+svn162-3) unstable; urgency=medium
   * Vcs-fields: Use https and cgit.
   * Update my e-mail address.
   * Don't export DH_OPTIONS anymore.
+  * Ensure that etw can be built twice in a row.
 
  -- Markus Koschany <apo at debian.org>  Mon, 08 Aug 2016 13:39:01 +0200
 
diff --git a/debian/rules b/debian/rules
index eaff407..a20ad84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,11 @@ override_dh_installdocs:
 	cp ./web/EatTheWhistle.txt README
 	dh_installdocs
 
+override_dh_clean:
+	dh_clean
+	find . -name "*.o" -delete
+	$(RM) etw/etw
+	$(RM) README
 
 # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source
 PACKAGE = etw

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



More information about the Pkg-games-commits mailing list