transformed current/revision/age explanation comment into algorithmic form (from the original libtool rule-based one which was more suitable for Prolog interpreter than human beings...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1c14217db4
commit
5c173ba3f7
@ -8,28 +8,20 @@
|
|||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
We use libtool CURRENT:REVISION:AGE versioning scheme. Quoting libtool
|
We use libtool CURRENT:REVISION:AGE versioning scheme. Here are the
|
||||||
documentation on how to handle the values:
|
rules for updating the values below, this should be done whenever wx
|
||||||
|
version (wx/version.h) changes (we abbreviate WX_CURRENT:REVISION:AGE
|
||||||
|
as C:R:A respectively):
|
||||||
|
|
||||||
1. Start with version information of `0:0:0' for each new major.minor
|
0. Set C:R:A = 0:0:0 if major or minor version has changed.
|
||||||
version.
|
|
||||||
|
|
||||||
2. Update the version information only immediately before a public
|
1. If any API has been removed or otherwise changed in backwards
|
||||||
release of your software. More frequent updates are unnecessary,
|
incompatible way, then change C:R:A to C+1:0:0
|
||||||
and only guarantee that the current interface number gets larger
|
|
||||||
faster.
|
|
||||||
|
|
||||||
3. If the library source code has changed at all since the last
|
2. Else, if any API has been added, change C:R:A to C+1:0:A+1
|
||||||
update, then increment REVISION (`C:R:A' becomes `C:r+1:A').
|
|
||||||
|
|
||||||
4. If any interfaces have been added, removed, or changed since the
|
3. Else, i.e. if there were no changes at all to API but only internal
|
||||||
last update, increment CURRENT, and set REVISION to 0.
|
changes, change C:R:A to C:R+1:A
|
||||||
|
|
||||||
5. If any interfaces have been added since the last public release,
|
|
||||||
then increment AGE.
|
|
||||||
|
|
||||||
6. If any interfaces have been removed since the last public release,
|
|
||||||
then set AGE to 0.
|
|
||||||
-->
|
-->
|
||||||
<set var="WX_CURRENT">0</set>
|
<set var="WX_CURRENT">0</set>
|
||||||
<set var="WX_REVISION">0</set>
|
<set var="WX_REVISION">0</set>
|
||||||
|
Loading…
Reference in New Issue
Block a user