Remove common_sha1.i and or_sha1.i in clean

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.
This commit is contained in:
Peter Palfrader 2009-09-21 13:39:40 +02:00
parent b69f6fe82d
commit 06211f2b90
2 changed files with 8 additions and 1 deletions

8
debian/changelog vendored
View File

@ -1,8 +1,14 @@
tor (0.2.2.2-alpha-1) experimental; urgency=low tor (0.2.2.2-alpha-1) experimental; urgency=low
* New upstream version. * New upstream version.
* 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@debian.org> Mon, 21 Sep 2009 13:15:36 +0200 -- Peter Palfrader <weasel@debian.org> Mon, 21 Sep 2009 13:37:30 +0200
tor (0.2.2.1-alpha-1) experimental; urgency=low tor (0.2.2.1-alpha-1) experimental; urgency=low

1
debian/rules vendored
View File

@ -129,6 +129,7 @@ clean: unpatch
dh_testdir dh_testdir
dh_testroot dh_testroot
rm -f build-stamp rm -f build-stamp
rm -f src/common/common_sha1.i src/or/or_sha1.i
[ ! -f Makefile ] || $(MAKE) distclean [ ! -f Makefile ] || $(MAKE) distclean