chiark / gitweb /
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 35d7853199875ca2f7ca818ccdf2cf1459300539..8aa3fcc7afe5b2e40ca9aacecd12d15588132ffe 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 6040c222deef090027e2dc06c096f42d6c130bfb..7449e9d51b33dff5c373d11c51f68ba470818983 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.