Ryan Niebur wrote:
> Policy 4.14 says:
> "Doing this with a patch target in debian/rules is recommended"
> 
> It would be nice if this would magically happen when using a 3 line 
> debian/rules file.
> 
> Cheers,
> Ryan
> (who would be willing to work on patches if Joey proposes a way to do it)

In order to support this:

1) dh needs to be patched to add a function to its sequence
   addon interface that adds a command a new sequence.
2) quilt's sequence addon needs to be modified to use that
   function to create a patch sequence and add dh_quilt_patch
   to it.

The next debhelper release will handle #1 via
add_command($new_command, $sequence), so reassigning to quilt.

I've tested the following working in quilt.pm:

add_command("dh_quilt_patch", "patch");

You might want to dress this up slightly to avoid crashing if it's
used with an older debhelper that does not support add_command. Maybe
just putting it in an eval block would be sufficient. I assume you
don't want to make quilt have a versioned dependency on debhelper.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to