change version string to "Sylpheed-Claws A.B.CC" optional with "cvsDD"
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 1 Jun 2004 14:54:32 +0000 (14:54 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 1 Jun 2004 14:54:32 +0000 (14:54 +0000)
configure.ac
src/common/version.h.in

index bee1a4e..ffb6551 100644 (file)
@@ -3,7 +3,7 @@ AC_PREREQ(2.50)
 AC_INIT(src/main.c)
 AC_CONFIG_AUX_DIR(config)
 
-PACKAGE=sylpheed
+PACKAGE=sylpheed-claws
 
 dnl version number
 MAJOR_VERSION=0
@@ -12,11 +12,12 @@ MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=0
+EXTRA_RELEASE=
 
-if test $EXTRA_VERSION -eq 0; then
-    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
+if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
+    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}
 else
-    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
+    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}cvs${EXTRA_VERSION}
 fi
 
 dnl set $target
index 4e5febc..0576c85 100644 (file)
@@ -27,7 +27,7 @@
 
 #define PACKAGE                        "@PACKAGE@"
 #define VERSION                        "@VERSION@"
-#define PROG_VERSION           "Sylpheed version "VERSION
+#define PROG_VERSION           "Sylpheed-Claws "VERSION
 #define VERSION_NUMERIC                MAKE_NUMERIC_VERSION(@MAJOR_VERSION@, @MINOR_VERSION@, \
                                                     @MICRO_VERSION@, @EXTRA_VERSION@)