Hello!

My attempt to run "make dist" in the current CVS results in creating
cvs-1.11.0..tar.gz which is not nice.

The version number is extracted from src/version.c
I'm not going to argue whether the dot after 1.11.0 is needed or not, but
the top-level Makefile should be protected against doing dummy things.

The patch is trivial for everybody who knows sed:
=========================
Index: ChangeLog
--- ChangeLog   Wed Aug 30 18:08:19 2000
+++ ChangeLog   Thu Sep  7 12:46:05 2000
@@ -2,0 +3,4 @@
+       * Makefile.in: Strip ending dots from the version number.
+
+2000-08-30  Larry Jones  <[EMAIL PROTECTED]>
+
Index: Makefile.in
--- Makefile.in Mon Apr 26 17:05:11 1999
+++ Makefile.in Thu Sep  7 12:44:18 2000
@@ -237,7 +237,7 @@
        rm -f .version .fname
        sed < $(srcdir)/src/version.c \
            -e '/version_string/!d' \
-           -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
+           -e 's/[^0-9.]*\([0-9.]*[0-9]\).*/\1/' \
            -e q > .version
        echo > .fname cvs-`cat .version`
        rm -f `cat .fname`.spec
=========================

The last character in the version should be a number.

Regards,
Pavel Roskin

Reply via email to