| 1 |
A Build-Depends: B |
| 2 |
Built-Using: ${dh-builtusing:B} |
| 3 |
B Built-Using: C |
| 4 |
|
| 5 |
C may not be installed. |
| 6 |
|
| 7 |
Does the policy require that A is Built-Using: B *and C*? |
| 8 |
The effects are transitive, so this does not seem necessary. |
| 9 |
|
| 10 |
If yes, dh-builtusing should generate the Built-Using closure of B. |
| 11 |
If no, most rust packages will be OK with |
| 12 |
|
| 13 |
Static-Built-Using: ${dh-built-using:librust-*-dev} |
| 14 |
|
| 15 |
-- |
| 16 |
|
| 17 |
Debhelper (>= 14) expands ${foo:Built-Using} automatically if the |
| 18 |
variable is defined. |
| 19 |
|
| 20 |
Dh-builtusing could then take as input a debhelper configuration file |
| 21 |
like debian/foo.builtusing containing lines like Built-Using: gcc-*. |
| 22 |
|
| 23 |
That would simplify it a lot and allow debhelper promises. |