Andreas Tille <andr...@fam-tille.de> writes:

> On Mon, Aug 17, 2015 at 09:53:35AM +0530, Vasudev Kamath wrote:
>> > $ debian/rules debian/control
>> > sed -e 's/__LIBPKGNAME__/libpugixml1/g' -e 
>> > 's/__LIBPKGNAMEv5__/libpugixml1v5/g' <debian/control.in.in 
>> > >debian/control.in
>> >
>> > Please either enlighten me how to create debian/control or may be you
>> > simply create it and the result should work.
>> 
>> Actually you need to modify control.in.in and package
>> names are mostly set in rules file. I had written a post on this [1],
>> I hope it can clarify things.
>> 
>> Normal packages have only control.in where as library packages have
>> control.in.in (forgenerating appropriate library package names).
>> 
>> [1] 
>> http://blog-archive.copyninja.info/2013/05/cdbs_packaging%3A_package_relationship_management.html
>
> I commited the necessary changes to control.in.in and found the rule to
> generate control.in from it.  I browsed quickly your link but also here
> I did not found "the oneliner" to create d/control.  So either send me
> a one liner or create the contol file yourself.  Everything necessary
> should be prepared but it is untested.

Oops sorry, its

DEB_MAINTAINER_MODE=1 fakeroot debian/rules debian/control

According to Debian policy control file generation on fly is not allowed
IIRC from my conversation with Jonas, so the special
DEB_MAINTAINER_MODE=1.

Thanks for the help!.

Cheers,

Reply via email to