* Jakub Wilk: " Re: dh9: dh_python2 with dh_sphinxdoc: missing /usr/bin
and /usr/lib in deb" (Mon, 13 May 2013 20:26:39 +0200):
> * Mathias Behrle <mathiasb@m9s.biz>, 2013-05-13, 20:13:
>>I want to create a separate package tryton-modules-doc from the sphinx
>>documentation contained in tryton-server.
>>
>>The packages are building without error, but in the final deb of the
>>server package (tryton-server) the files for /usr/bin and /usr/lib are
>>missing. Inspecting debian/tryton-server after the build shows still
>>the directory tmp containing those missing files, apparently not being
>>moved to debian/tryton-server/usr. The build log doesn't show anything
>>unusual.
>
> Quoting the dh_auto_install(1) manpage:
>
> Unless --destdir option is specified, the files are installed into
> debian/<package>/ if there is only one binary package. In the multiple
> binary package case, the files are instead installed into debian/tmp/,
> and should be moved from there to the appropriate package build
> directory using dh_install(1).
>
>
> You probably want to instruct dh_install which files belong to which
> packages, presumably by creating appropriate *.install files.
Thanks a lot, Jakub!
Adding
debian/tmp/usr/* /usr
to tryton-server.install did the thing.
--
Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg
Tel: +49(761)471023
Fax: +49(761)4770816
http://m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
Attachment:
signature.asc
Description: PGP signature