Make the mainwindow's version string shorter when
[claws.git] / src / common / version.h.in
index 071b2066471818a30ed5c5ec0a59400a95bce720..957a5cd9db7f0f82cbf3ff954861ff00198014e1 100644 (file)
                                          (((guint32)c) <<  8) |  ((guint32)d)      )
 
 #define PACKAGE                        "@PACKAGE@"
+#define PACKAGE_FRIENDLY       "Claws Mail"
 #define VERSION                        "@VERSION@"
-#define PROG_VERSION           "Claws Mail "VERSION
+#define RELEASE_VERSION                "@MAJOR_VERSION@.@MINOR_VERSION@.@MICRO_VERSION@"
+#define PROG_VERSION           PACKAGE_FRIENDLY" "VERSION_GIT_FULL
+#ifdef USE_MAINTAINER_MODE
+#define PROG_VERSION_FRIENDLY  PROG_VERSION
+#else
+#define PROG_VERSION_FRIENDLY  PACKAGE_FRIENDLY" "RELEASE_VERSION
+#endif
 #define VERSION_NUMERIC                MAKE_NUMERIC_VERSION(@MAJOR_VERSION@, @MINOR_VERSION@, \
                                                     @MICRO_VERSION@, @EXTRA_VERSION@)
 #define VERSION_GIT_FULL       "@GIT_VERSION@"
-#define VERSION_GIT_HASH       "@HASH_VERSION@"
-
 #endif /* __VERSION_H__ */