From: Mark Wooding Date: Tue, 5 Mar 2013 17:40:37 +0000 (+0000) Subject: aclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers! X-Git-Tag: 1.3.8^0 X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/commitdiff_plain/026f4519ff6a9045231822462e8d35e2dedd3120 aclocal.glob (mdw_LIBTOOL_VERSION_INFO): Use most significant numbers! 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. --- diff --git a/aclocal.glob b/aclocal.glob index 35d7853..8aa3fcc 100644 --- a/aclocal.glob +++ b/aclocal.glob @@ -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]) diff --git a/debian/changelog b/debian/changelog index 6040c22..7449e9d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 05 Mar 2013 17:43:05 +0000 + cfd (1.3.7) experimental; urgency=low * Reinstate mdw_PATH_TEXMF.