Bug#714980: apt: Please run dh_clean in debian/rules clean
On Thu, Jul 04, 2013 at 10:55:22PM -0700, Geoffrey Thomas wrote:
> Package: src:apt
> Version: 0.9.9
> Severity: wishlist
Thanks for your bugreprt.
> debian/rules clean doesn't run dh_clean, which means that if you do
> a build and clean in a directory and then do a source build, your
> source package ends up with the debian/$package/ tmpdirs (the
> results of the last build) inside it, as well as some debhelper temp
> files. This makes my debdiffs look silly. Running dh_clean manually
> fixes this, as you'd expect.
>
> It also clears out autom4te.cache, which seems to have ended up in
> some tarballs (like those in Ubuntu's quantal-updates, at least,
> which is what I'm running -- the _presence_ of autom4te.cache in
> Ubuntu's source tarballs makes my debdiffs look differently silly if
> I run dh_clean before building my source tarball).
>
> Can you call dh_clean from debian/rules clean?
Indded, this is now added in git and will be part of the next upload.
Cheers,
Michael
Reply to: