1 |
Greg KH schrieb: |
2 |
>>> src_install() { |
3 |
>>> doman bti.1 |
4 |
>>> dobin bti |
5 |
>>> dodoc bti.example README RELEASE-NOTES |
6 |
>>> } |
7 |
>> You really should have some or all of these functions die on failure. |
8 |
> |
9 |
> Why would any of these fail if the src_compile succeeded? |
10 |
|
11 |
What happens, if upstream changes the name of the binary on version bump or changes the compile |
12 |
output location? |
13 |
|
14 |
> |
15 |
> And, for some reason I thought that the default was that if there was an |
16 |
> error in them, they would "die" on their own. Is that not the case? |
17 |
|
18 |
Sadly not. Some functions do die (like epatch or econf), others do not (like emake, dobin, |
19 |
doman....). If i remember correctly, those that are external functions do die, the others do not. |
20 |
|
21 |
|
22 |
-- |
23 |
Thomas Sachau |
24 |
|
25 |
Gentoo Linux Developer |