Package: gamgi
Version: 0.15-3
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

You currently have the following in debian/rules:

override_dh_clean:
        find . -name \*.o | xargs $(RM)
        $(RM) src/global/gamgi.real src/gamgi.real gamgi.1
        [ ! -f src/make_local.orig ] || cp -a src/make_local.orig
        src/make_local

This means that these commands are called *instead of* dh_clean, which is
never called at all.  dh_clean needs to be called to clean up the package
build directories that are created under debian/, as well as the debhelper
log files.

The attached patch has been uploaded to Ubuntu to fix this issue, with the
following changelog entry:

  * debian/rules: when overriding dh_clean, make sure to still call dh_clean;
    otherwise, all the package build directories are left behind under
    debian/.

Please consider applying this patch to the Debian package as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru gamgi-0.15/debian/rules gamgi-0.15/debian/rules
--- gamgi-0.15/debian/rules	2011-03-03 03:21:18.000000000 -0800
+++ gamgi-0.15/debian/rules	2011-04-15 23:29:24.000000000 -0700
@@ -7,6 +7,7 @@
 	dh $@ --parallel
 
 override_dh_clean:
+	dh_clean
 	find . -name \*.o | xargs $(RM)
 	$(RM) src/global/gamgi.real src/gamgi.real gamgi.1
 	[ ! -f src/make_local.orig ] || cp -a src/make_local.orig src/make_local

Reply via email to