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

Re: How to skip debian/rules clean with git-buildpackage



Rashad,

Try debian/rules binary

Note that by installing ccache you can also improve recompilation
times a lot, I prefer doing it this way and cleaning agressively.

Kind Regards,
Johan

On Tue, Dec 15, 2015 at 2:29 PM, Rashad Kanavath
<mohammedrashadkm@gmail.com> wrote:
>
> Could I override clean inside rules ?
>
> On Tue, Dec 15, 2015 at 2:24 PM, Sebastiaan Couwenberg <sebastic@xs4all.nl>
> wrote:
>>
>> On 15-12-15 14:14, Rashad Kanavath wrote:
>> > I hope there a very easy fix for this but cannot find it. how do I skip
>> > the
>> > "fakeroot debian/rules clean " target when re-running a
>> > git-buildpackage.
>> > This is important for me when I test some small configuration and do not
>> > want to rebuild the full package but just the other steps
>> >
>> > Any clue?
>>
>> git-buildpackage performs a complete build, and starts by running the
>> clean target in debian/rules.
>>
>> If you want to skip the clear target for testing call the desired target
>> directly, e.g.
>>
>>  make -f debian/rules configure
>>
>> This assumes that the clean target is not a dependency of the configure
>> target, which it is IIRC.
>>
>> Kind Regards,
>>
>> Bas
>>
>> --
>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>
>
>
>
> --
> Regards,
>    Rashad


Reply to: