[PATCH] don't delete debian directory in official debian builds

From: Andres Salomon
Date: Sat Aug 14 2004 - 15:01:51 EST


Hi,

Somewhere along the 2.6 series, there was a change made that causes
distclean to automatically delete the debian/ subdirectory from the top
of the kernel tree. This causes grief for the official debian kernel
packages; the debian directory shouldn't be deleted in the packages.
Please apply the attached patch; it causes the debian/ subdirectory to
only be deleted if there's no debian/official.

An even better solution would be to mark the debian directory as being
created by the kernel (touch debian/linus), and only delete it if the
kernel created it.


--
Andres Salomon <dilinger@xxxxxxxxx>

Attachment: dont-delete-debian.patch
Description: application/shellscript

Attachment: signature.asc
Description: This is a digitally signed message part