On Sat, Jun 03, 2006 at 05:49:26PM -0400, Joey Hess wrote:
> Filippo Giunchedi wrote:
> > is there any progress/fix on this bug? I just encountered it while packaging
> > libbluetooth1 2.25-2 and it is really annoying :(
> 
> I've painted myself into a corner here. It would be possible to fix
> dh_builddeb to exclude the same files that DH_ALWAYS_EXCLUDE excludes
> other debhelper commands from acting on (patch below). However, this
> would mean that anyone who runs debhelper with
> DH_ALWAYS_EXCLUDE=CVS:.svn, which many people do, would suddenly find
> that dh_builddeb starts deleting files named for example "CVSfoo" or
> "foo.svnbar" or the like, which currently it does not delete. That would
> be a behavior change.

My first attempt to fix this was to detect if there's a regex specified (in this
specific case DH_ALWAYS_EXCLUDE=README$ would have fixed the dh_md5sums bug)
because -regex .*README$.* as built by dh_md5sums doesn't work (rightfully).

I'm not sure if this could solve anything but shouldn't change dh behaviour that
much (might be still worth considering for v6 though)

thanks,
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Man was made at the end of the week's work when God was tired.
-- Mark Twain

Attachment: signature.asc
Description: Digital signature

Reply via email to