documentation/poky-ref-manual/ref-variables.xml: Added link to PR

(From yocto-docs rev: d64bf592f16f2462727aedf6b9c552ec9c73d72c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2012-07-03 07:23:04 -07:00 committed by Richard Purdie
parent b64ad8ba85
commit a7cf3cd9c2
1 changed files with 3 additions and 2 deletions

View File

@ -949,13 +949,14 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \
<glossdef>
<para>Defines the Package revision.
You manually combine values for <filename>INC_PR</filename> into the
<filename>PR</filename> field of the parent recipe.
<link linkend='var-PR'><filename>PR</filename></link> field of the parent recipe.
When you change this variable, you change the <filename>PR</filename>
value for every person that includes the file.</para>
<para>
The following example shows how to use the <filename>INC_PR</filename> variable
given a common <filename>.inc</filename> file that defines the variable.
Once defined, you can use the variable to set the <filename>PR</filename> value:
Once defined, you can use the variable to set the
<filename>PR</filename> value:
</para>
<literallayout class='monospaced'>
recipes-graphics/xorg-font/encodings_1.0.4.bb:PR = "${INC_PR}.1"