On Sun, Sep 11, 2011 at 7:30 PM, Jakub Wilk <[email protected]> wrote: > * Mathieu Malaterre <[email protected]>, 2011-09-11, 17:32: >> >> I would like to know if there is an easy way to get the PATH of the build >> tree in case of a dh --buildsystem=cmake build ? The name generated is >> obj-x86_64-linux-gnu on my machine, and comes from the value of >> DEB_BUILD_GNU_TYPE. > > Looking at debhelper source, it's indeed obj-$DEB_BUILD_GNU_TYPE. (Which is > an odd choice, DEB_HOST_* would make more sense. Also, I don't quite > understand why any machine type has to encoded in the directory nameā¦) > >> However I could not find if there was a way for me to retrieve this ? > > Why do you need it in the first place?
What do you do when you need to install files produced by the build system but not installed. *.install can easily reference source file, or installed files (debian/tmp/*), but this is un-easy to reference file produced by make (before make install). What I did is patch the original build system to install files that were not originally meant to be installed: *.html. They are used as intermediate step to produce qch files. >> The other way around for me would be to explicitely define the build >> directory, > > --builddirectory I'll check but it seems I had to set a clean:: rule to get things working. Thanks anyway, -- Mathieu -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/ca+7wusxxspzg8gonoe7x2lp+xns_6pohh+dxuq6uei4knu-...@mail.gmail.com

