2008-07-01  Frederik Schüler <fs@debian.org>

	* debian/changelog: List all bugs closed since the last release.
	* debian/control: Remove Wichert Akkerman from uploaders list.
	* debian/control: Bump standards version to 3.8.0.
	* debian/control: Add Homepage field.
	* debian/rules: Fix dpkg-gencontrol call.
	* debian/compat: New file, set to compatibility level 5.
	* debian/rules: Call dh_clean on clean target.
	* debian/rules: Add dh_md5sums call.
	Fixes Debian#439428
diff --git a/debian/rules b/debian/rules
index fc257ac..2460f2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,7 @@
 	cd $(@D); CC="$(CC64)" sh ../configure --prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(HOST64)
 
 clean:
+	dh_clean
 	rm -rf debian/$(package) debian/substvars debian/files debian/files~
 	rm -rf build64 stamp-build64
 	rm -rf build stamp-build
@@ -62,7 +63,8 @@
 		debian/$(package)/usr/bin/strace
 	dh_strip
 
-	dpkg-gencontrol -is -pstrace-udeb -fdebian/files~
+	dpkg-gencontrol -is -pstrace-udeb -fdebian/files~ -Pdebian/$(package)
+	dh_md5sums
 	dpkg-deb --build debian/$(package) ../$(UDEB)
 	dpkg-distaddfile $(UDEB) debian-installer extra
 
@@ -95,7 +97,7 @@
 
 	dpkg-shlibdeps build/strace $(patsubst yes,build64/strace,$(build64))
 
-	dpkg-gencontrol -is -pstrace
+	dpkg-gencontrol -is -pstrace -Pdebian/$(package)
 	dpkg-deb --build debian/$(package) ..
 
 checkroot: