diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-15 11:07:55 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-15 11:07:55 +0200 |
commit | 6fa671f31450210275dee07cdfc94cbe63d9aa88 (patch) | |
tree | 383832288a677240aac6b22a279999bf46f0ce85 | |
parent | d8202e44e18746f06a00424f9d3cf680b7bd4a2e (diff) | |
download | libmnl-6fa671f31450210275dee07cdfc94cbe63d9aa88.tar.gz libmnl-6fa671f31450210275dee07cdfc94cbe63d9aa88.zip |
build: add notice on how to update library API version
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | Make_global.am | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Make_global.am b/Make_global.am index e52eb90..4d56685 100644 --- a/Make_global.am +++ b/Make_global.am @@ -1,7 +1,23 @@ # This is _NOT_ the library release version, it's an API version. -# Please read Chapter 6 "Library interface versions" of the libtool -# documentation before making any modification -# http://sources.redhat.com/autobook/autobook/autobook_91.html +# Extracted from Chapter 6 "Library interface versions" of the libtool docs. +# +# <snippet> +# Here are a set of rules to help you update your library version information: +# +# 1. Start with version information of `0:0:0' for each libtool library. +# 2. Update the version information only immediately before a public release +# of your software. More frequent updates are unnecessary, and only guarantee +# that the current interface number gets larger faster. +# 3. If the library source code has changed at all since the last update, +# then increment revision (`c:r:a' becomes `c:r+1:a'). +# 4. If any interfaces have been added, removed, or changed since the last +# update, increment current, and set revision to 0. +# 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. +# </snippet> +# LIBVERSION=0:0:0 INCLUDES=$(all_includes) -I$(top_srcdir)/include |