Re: obj-x86_64-linux-gnu / DEB_BUILD_GNU_TYPE / cmake
On Sun, Sep 11, 2011 at 7:30 PM, Jakub Wilk <email@example.com> wrote:
> * Mathieu Malaterre <firstname.lastname@example.org>, 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
> 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
I'll check but it seems I had to set a clean:: rule to get things working.