[or-cvs] [tor/master] Remove common_sha1.i and or_sha1.i in clean

Nick Mathewson nickm at seul.org
Mon Sep 21 20:08:25 UTC 2009


Author: Peter Palfrader <peter at palfrader.org>
Date: Mon, 21 Sep 2009 13:39:40 +0200
Subject: Remove common_sha1.i and or_sha1.i in clean
Commit: 06211f2b9027b1a898c6de67468f1c627a281ca3

The files src/common/common_sha1.i src/or/or_sha1.i get changed during
the build - they contain the checksums of the individual files that end
up in the binary.  Of couse changes only end up in the debian diff.gz
after building a second time in the same directory.  So, remove those
files in clean to get both a cleaner diff.gz and idempotent builds.
---
 debian/changelog |    8 +++++++-
 debian/rules     |    1 +
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 77f4ee4..73c63c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 tor (0.2.2.2-alpha-1) experimental; urgency=low
 
   * New upstream version.
-
- -- Peter Palfrader <weasel at debian.org>  Mon, 21 Sep 2009 13:15:36 +0200
+  * The files src/common/common_sha1.i src/or/or_sha1.i get changed
+    during the build - they contain the checksums of the individual
+    files that end up in the binary.  Of couse changes only end up
+    in the debian diff.gz after building a second time in the same
+    directory.  So, remove those files in clean to get both a cleaner
+    diff.gz and idempotent builds.
+
+ -- Peter Palfrader <weasel at debian.org>  Mon, 21 Sep 2009 13:37:30 +0200
 
 tor (0.2.2.1-alpha-1) experimental; urgency=low
 
diff --git a/debian/rules b/debian/rules
index f5aaa95..5b39348 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,6 +129,7 @@ clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
+	rm -f src/common/common_sha1.i src/or/or_sha1.i
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
-- 
1.5.6.5




More information about the tor-commits mailing list