On Wed, Aug 2, 2017 at 6:12 AM, Mattia Rizzolo <[email protected]> wrote:
> 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. > > Thanks for your patience, Mattia! I explicitly listed 'to-be-installed' files in scram.install & scram-gui.install. Reuploaded to mentors and updated alioth. It seems to work, but I keep my fingers crossed. Regards, Olzhas

