[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: scram/0.14.0-1



On Tue, Aug 01, 2017 at 06:12:36PM -0700, Olzhas Rakhimov wrote:
> I ended up doing a nasty thing of merging the GUI and command-line into one
> package.

meh.
don't give up so easily :)

> I really wish there's some debhelper magic for CMake multi-binary builds.

The fact that the package is using cmake is quite irrelevant, really :)
The difference is on how dh_auto_install(1) works when you are building
one or mulitple binaries: when you build only one binaries the "make
install" installs everything in the debian/scram directory, and the
proceed to create a .deb out of that tree; when you are building
multiple binaries that "make install" (as invoked by dh_auto_install)
puts all the files in the debian/tmp directory instead, leaving you the
job of specifing which files need to go to which directory, usually by
means of various debian/*.install (see dh_install(1)) files.


I believe that was what you were confused about, given that you didn't
really explain much about what your problems were.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: