2009/7/10 Uwe Kleine-König <u.kleine-koe...@pengutronix.de>:
> Hello Dima,
>
>> > tg2quilt.mk at least adds dependencies to the unpatch target.
>> >
>>
>> Well not really....
>>
>> git clone git://git.debian.org/~xnox-guest/hello.git
> I guess you have top-bases/feature/a-tg2quilt-patch at
> 0363c47e115e558886085be88ebfd746fd753b33.
>
>> The above is a demo I've made. I've imported hello*.dsc switched it to
>> dh 7 style rules using quilt addon.
>>
>> Then I defined the quilt patch dir variable and added tg2quilt.mk and
>> created one tg topic branch with a silly "patch".
>>
>> I did not include quilt.make snippet!
>>
>> In the branch called "build" i can successfully export tg patch into
>> quilt series using ./debian/rules tg-cleanexport
>> In the branch called "build-fail" i can't becuase quilt patch dir
>> variable is commented out.
>>
>> So could you please add this conditional quilt patch dir assignment to
>> the tg2quilt.mk, so that my dh style debian/rules can be 1 line
>> shorter?
> I'm a bit undecided if using tg2quilt.mk without quilt.make is a good
> idea.  Will think about it a bit more---or maybe martin wants to comment
> as he wrote tg2quilt.mk?!
>

Well tg2quilt.mk should create patch series which can be applied /
removed with regular diff.

Quilt.make is a convience for easy/simple debian/rules file.

>> As a side request do you think you can create a dh tg2quilt add-on
>> which can be used similarly to the quilt one?
> What do you think it should do additionally to the quilt-addon?
>

I would want to invoke tg targets from within dh. so that my rules file would be

%:
       dh --with quilt tg2quilt $@

and then I would want to envoke ./debian/rules tgclean-export

or something like that =)

dh doesn't provide patch / unpatch targets directly, it just
patches/unpatches files at correct times in the sequence.


-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to