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

Re: obj-x86_64-linux-gnu / DEB_BUILD_GNU_TYPE / cmake

* Mathieu Malaterre <mathieu.malaterre@gmail.com>, 2011-09-11, 21:08:
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).

Would something like "obj-*/path/to/anything" do the trick for you?

Jakub Wilk

Reply to: