1 |
2013/1/22 Pacho Ramos <pacho@g.o>: |
2 |
> El mar, 22-01-2013 a las 08:16 +0100, Tomáš Chvátal escribió: |
3 |
>> Would'nt be better to just set some variable in the ebuild, rather |
4 |
>> than call function that touches empty file? |
5 |
>> |
6 |
>> Tom |
7 |
>> |
8 |
>> |
9 |
> |
10 |
> I think it can be done in either way... but I don't see the advantage of |
11 |
> any over the other :/ |
12 |
|
13 |
Just few I can think of right now: |
14 |
|
15 |
You can set the variable in the ebuilds global scope somewhere on top easily. |
16 |
You can actually do more magic later based on what content user puts |
17 |
to the variable if we want to (all msgs, important ones only, ...) |
18 |
You actually allow user to enforce this behaviour in make conf for all |
19 |
packages if he desires to do so. |
20 |
|
21 |
Also I never seen this being handled by touching files in any other eclasses :-) |
22 |
|
23 |
Tom |