diff options
Diffstat (limited to 'documentation/dev-manual')
| -rw-r--r-- | documentation/dev-manual/packages.rst | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst index 90c52beb29..79f21d9f34 100644 --- a/documentation/dev-manual/packages.rst +++ b/documentation/dev-manual/packages.rst | |||
| @@ -227,18 +227,6 @@ default value is "r0", the practice of adding it to a new recipe makes | |||
| 227 | it harder to forget to bump the variable when you make changes to the | 227 | it harder to forget to bump the variable when you make changes to the |
| 228 | recipe in future. | 228 | recipe in future. |
| 229 | 229 | ||
| 230 | If you are sharing a common ``.inc`` file with multiple recipes, you can | ||
| 231 | also use the :term:`INC_PR` variable to ensure that the recipes sharing the | ||
| 232 | ``.inc`` file are rebuilt when the ``.inc`` file itself is changed. The | ||
| 233 | ``.inc`` file must set :term:`INC_PR` (initially to "r0"), and all recipes | ||
| 234 | referring to it should set :term:`PR` to "${INC_PR}.0" initially, | ||
| 235 | incrementing the last number when the recipe is changed. If the ``.inc`` | ||
| 236 | file is changed then its :term:`INC_PR` should be incremented. | ||
| 237 | |||
| 238 | When upgrading the version of a binary package, assuming the :term:`PV` | ||
| 239 | changes, the :term:`PR` variable should be reset to "r0" (or "${INC_PR}.0" | ||
| 240 | if you are using :term:`INC_PR`). | ||
| 241 | |||
| 242 | Usually, version increases occur only to binary packages. However, if | 230 | Usually, version increases occur only to binary packages. However, if |
| 243 | for some reason :term:`PV` changes but does not increase, you can increase | 231 | for some reason :term:`PV` changes but does not increase, you can increase |
| 244 | the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to | 232 | the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to |
