[Distutils] Generating two Debian packages with stdeb
edward.ekelund at axis.com
Wed Nov 21 11:03:45 CET 2012
I have modified the debian/control file to produce two .debs. I have no
idea, however, how to correctly use override_dh_autobuild in
debian/rules to put files in the appropriate sub directories. My
google-fu seems weak, and I haven't been able to find an answer on the
Could you provide a simple example for how I should do it?
On 11/20/2012 02:27 PM, Jan Dittberner wrote:
> On Tue, Nov 20, 2012 at 01:30:43PM +0100, Edward Ekelund wrote:
>> I'm wondering if there is a way to generate two .deb-files from a single
>> setup.py file. Or, if that's not possible, generate deb files from
>> custom-named setup.py files, e.g. client_setup.py & server_setup.py.
> You can just use setup.py and move the files to appropriate sub directories
> of the debian/ directory in a override_dh_autobuild rule in your
> debian/rules file.
> You will have to define appropriate binary package stanzas in your
> debian/control file.
> Jan Dittberner
More information about the Distutils-SIG