aclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers! 1.3.8
authorMark Wooding <mdw@distorted.org.uk>
Tue, 5 Mar 2013 17:40:37 +0000 (17:40 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 5 Mar 2013 17:58:51 +0000 (17:58 +0000)
The regexp had an initial `.*', which causes the captures to pick up the
rightmost version numbers, which is entirely wrong for brown-paper-bag
releases.

Release 1.3.8.

aclocal.glob
debian/changelog

index 35d7853..8aa3fcc 100644 (file)
@@ -62,7 +62,7 @@ dnl           naughty.
 
 AC_DEFUN([mdw_LIBTOOL_VERSION_INFO], [
   set -- $(echo $PACKAGE_VERSION |
-  sed 's:[^.*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$]:\1 \2 \3:'
+  sed 's:[^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$]:\1 \2 \3:'
   )
   LIBTOOL_VERSION_INFO="$(expr $[]1 + $[]2):$[]3:$[]2"
   AC_SUBST([LIBTOOL_VERSION_INFO])
index 6040c22..7449e9d 100644 (file)
@@ -1,3 +1,10 @@
+cfd (1.3.8) experimental; urgency=low
+
+  * Fix `mdw_LIBTOOL_VERSION_INFO' to use the correct part of a four (or
+    more) component version number.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Tue, 05 Mar 2013 17:43:05 +0000
+
 cfd (1.3.7) experimental; urgency=low
 
   * Reinstate mdw_PATH_TEXMF.