From 3bf928a3b6354bc09c87fcbf9e3972c8d368aaa3 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 9 Nov 2016 09:22:23 -0800 Subject: dev-manual: Fixed typo for "${INC_PR}.0" The string appeared in the text as "$(INC_PR).0". So, fixed it to be proper with the curly braces. (From yocto-docs rev: 5fa1691503fdf82476616a4ebb13c47d92deb03e) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 40 ++++++++++++---------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e9032cd7bf..1efb6dc02a 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -7160,26 +7160,29 @@ - If a committed change results in changing the package output, - then the value of the PR variable needs to be increased - (or "bumped") as part of that commit. + If a committed change results in changing the package + output, then the value of the PR variable needs to be + increased (or "bumped") as part of that commit. For new recipes you should add the PR - variable and set its initial value equal to "r0", which is the default. - Even though the default value is "r0", the practice of adding it to a new recipe makes - it harder to forget to bump the variable when you make changes - to the recipe in future. + variable and set its initial value equal to "r0", which is + the default. + Even though the default value is "r0", the practice of + adding it to a new recipe makes it harder to forget to bump + the variable when you make changes to the recipe in future. - If you are sharing a common .inc file with multiple recipes, - you can also use the + If you are sharing a common .inc file + with multiple recipes, you can also use the INC_PR - variable to ensure that - the recipes sharing the .inc file are rebuilt when the + variable to ensure that the recipes sharing the + .inc file are rebuilt when the .inc file itself is changed. - The .inc file must set INC_PR - (initially to "r0"), and all recipes referring to it should set PR - to "$(INC_PR).0" initially, incrementing the last number when the recipe is changed. + The .inc file must set + INC_PR (initially to "r0"), and all + recipes referring to it should set PR + to "${INC_PR}.0" initially, incrementing the last number + when the recipe is changed. If the .inc file is changed then its INC_PR should be incremented. @@ -7188,14 +7191,14 @@ When upgrading the version of a package, assuming the PV changes, the PR variable should be - reset to "r0" (or "$(INC_PR).0" if you are using + reset to "r0" (or "${INC_PR}.0" if you are using INC_PR). Usually, version increases occur only to packages. - However, if for some reason PV changes but does not - increase, you can increase the + However, if for some reason PV changes + but does not increase, you can increase the PE variable (Package Epoch). The PE variable defaults to "0". @@ -7205,7 +7208,8 @@ Version numbering strives to follow the Debian Version Field Policy Guidelines. - These guidelines define how versions are compared and what "increasing" a version means. + These guidelines define how versions are compared and what + "increasing" a version means. -- cgit v1.2.3-54-g00ecf