Re: Libary and Binary from 1 Source
yonah@gmx.net writes:
> Hello,
>
> i want to build a libary and a binary from one sourcefile.
> I run dh_make twice once with single binary, once with library.
>
> Is this possible? Which files i have to change too?
>
> attached controlfile:
>
> Source: libxy-tools
> Section: unknown
> Priority: extra
> Maintainer: <email>
> Build-Depends: debhelper (>= 5), autotools-dev
> Standards-Version: 3.7.2
>
> Package: libxy-tools ## binary ??###
> Architecture: any
> Depends: ${shlibs:Depends}, ${misc:Depends}
> Description: <insert up to 60 chars description>
> <insert long description, indented with spaces>
>
> Package: libxy-dev ## include files?? ###
> Section: libdevel
> Architecture: any
> Depends: libiris-toolsBROKEN (= ${Source-Version})
> Description: <insert up to 60 chars description>
> <insert long description, indented with spaces>
>
> Package: libiris-tools ## libary? ###
> Section: libs
> Architecture: any
> Depends: ${shlibs:Depends}, ${misc:Depends}
> Description: <insert up to 60 chars description>
> <insert long description, indented with spaces>
>
>
> thanks for help,
> yonah
Should be just debian/control. Try not to use "lib" in the name of the
binary package, e.g. use iris-tools and libiris.
But first consider this: Will there be other sources that link against
your library? Should the library be a public shared library?
MfG
Goswin
Reply to: