[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to remove an entire directory (and included files) with a quilt patch?



On Mon, Dec 12, 2011 at 5:58 PM, Emilien Klein <emilien+debian@klein.st> wrote:
> 2011/12/12 Paul Tagliamonte <paultag@ubuntu.com>:
>>> What is the correct way to remove an entire directory and it's
>>> contained files with a quilt patch?
>>
>> Why not do that in debian/rules ?
>
> So you would patch the one file that needs patching, and remove the
> whole directory from debian/rules, am I following you right?

You are indeed :)

>
> How would I go about removing that directory? i.e. what call do I need
> to add to debian/rules?

Depends on where you want to do what.

perhaps something like (with dh short syntax):

override_dh_auto_build:
    rm -rf ./cruddy/folder
    dh_auto_build $(FLAGS_IF_ANY)

>
> Thanks,
>   +Emilien
> P.S.: Please CC me as I'm not on the list

It really depends on what you're doing where

-- 
All programmers are playwrights, and all computers are lousy actors.

#define sizeof(x) rand()
:wq


Reply to: