@@ -669,6 +669,9 @@ ifeq ($(do_dbgsym_package),true)
$(lockme) sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files
# Now, the package wont get into the archive, but it will get put
# into the debug system.
+
+ # Clean out the debugging package source directory.
+ rm -rf $(dbgpkgdir)
endif
ifeq ($(do_linux_tools),true)
@@ -678,11 +681,6 @@ ifeq ($(do_cloud_tools),true)
$(call dh_all,$(pkgcloud))
endif
-ifneq ($(do_full_build),false)
- # Clean out the debugging package source directory.
- rm -rf $(dbgpkgdir)
-endif
-
#
# per-architecture packages
#
Remove the debug package install directory immediately after the package has been built. Note: We do this just to prevent potential out-of-disk-space problems on the builders. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> --- debian/rules.d/2-binary-arch.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)