1 |
I need to install a file that the package generates in its build |
2 |
directory. It's a cmake project. I tried: |
3 |
|
4 |
doins "${BUILD_DIR}/some_file" |
5 |
|
6 |
But it doesn't find the file: |
7 |
|
8 |
FileNotFoundError: [Errno 2] No such file or directory: b'/some_file' |
9 |
|
10 |
The ebuild inherits cmake-multilib. There's two build directories of |
11 |
course, since this is a multilib ebuild: |
12 |
|
13 |
package-version-abi_x86_32.x86 |
14 |
package-version-abi_x86_64.amd64 |
15 |
|
16 |
|
17 |
I'm interested in the native build directory (the amd64 one in this |
18 |
case.) Is there a variable somewhere that I'm just not finding, or do I |
19 |
have to construct the build directory path myself? |