[PATCH evemu 1/2] Add comments to explain how the libtool versioning works

Peter Hutterer peter.hutterer at who-t.net
Wed Oct 23 17:33:06 PDT 2013


A lot easier than having to google this every time. And it avoids people using
the versioning in a different way (there are multiple ways on how the version
can be used).

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 configure.ac | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configure.ac b/configure.ac
index c192eef..f14f33a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,14 @@ AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip])
 AM_SILENT_RULES([yes])
 AM_MAINTAINER_MODE([enable])
 
+# Before making a release, the LIB_VERSION string should be
+# modified.
+# The string is of the form C:R:A.
+# - If interfaces have been changed or added, but binary compatibility has
+#   been preserved, change to C+1:0:A+1
+# - If binary compatibility has been broken (eg removed or changed interfaces)
+#   change to C+1:0:0
+# - If the interface is the same as the previous version, change to C:R+1:A
 LIB_VERSION=1:0:0
 AC_SUBST([LIB_VERSION])
 
-- 
1.8.3.1



More information about the Input-tools mailing list