Changeset 213 for branches/2.05


Ignore:
Timestamp:
Dec 15, 2005, 1:41:46 AM (14 years ago)
Author:
bcornec
Message:

removed AuX_VER
removed g_version
use only VERSION from config.h
add $Rev$ to VERSION

Location:
branches/2.05/mondo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/configure.in

    • Property svn:keywords changed from Id to Id Rev
    r182 r213  
    77dnl $Id$
    88dnl
    9 AC_INIT([Mondo Rescue],[2.05],[mondo-devel@lists.sourceforge.net])
     9MONDO_VER=2.05
     10MONDO_REV=`echo '$Rev$' | awk '{print $2}'`
     11AC_INIT([Mondo Rescue],[${MONDO_VER}-r$MONDO_REV],[mondo-devel@lists.sourceforge.net])
    1012AC_CONFIG_SRCDIR([mondo/mondoarchive/main.c])
    1113AM_CONFIG_HEADER(config.h)
     
    1517AC_ARG_PROGRAM
    1618
    17 AM_INIT_AUTOMAKE([mondo], [2.05])
     19AM_INIT_AUTOMAKE([mondo], [$MONDO_VER])
    1820AM_MAINTAINER_MODE
    1921
  • branches/2.05/mondo/mondo/common/newt-specific.c

    r144 r213  
    128128    extern char *g_boot_mountpt;
    129129    extern char *g_mondo_home;
    130 
    131     extern char g_version[];
    132130
    133131    extern void set_signals(int);
     
    427425        system
    428426            ("cat /var/log/mondo-archive.log | gzip -9 > /tmp/MA.log.gz 2> /dev/null");
    429         if (!strstr(g_version, "cvs") && !strstr(g_version, "svn")) {
    430             printf
    431                 ("Please try the snapshot (the version with 'cvs' and the date in its filename)");
    432             printf
    433                 ("to see if that fixes the problem. Please don't bother the mailing list with");
    434             printf
    435                 ("your problem UNTIL you've tried the snapshot. The snapshot contains bugfixes");
    436             printf
    437                 ("which might help you. Go to http://www.mondorescue.org/download/download.html");
    438             printf("For more information.\n");
    439             log_msg(0,
    440                     "Please DON'T contact the mailing list. Try the SNAPSHOTS.");
    441         } else {
    442             printf
     427        printf
    443428                ("If you require technical support, please contact the mailing list.\n");
    444             printf("See http://www.mondorescue.org for details.\n");
    445             printf
     429        printf("See http://www.mondorescue.org for details.\n");
     430        printf
    446431                ("The list's members can help you, if you attach that file to your e-mail.\n");
    447         }
    448432        printf("Log file: %s\n", MONDO_LOGFILE);
    449         //  printf("VERSION=%s\n", g_version);
    450433        if (does_file_exist("/tmp/MA.log.gz")) {
    451434            printf
  • branches/2.05/mondo/mondo/mondoarchive/main.c

    r195 r213  
    118118#include "mondo-cli-EXT.h"
    119119
    120 #ifndef VERSION
    121 #define VERSION AUX_VER
    122 #endif
    123 
    124 
    125 char g_version[] = VERSION;
    126 
    127 
    128120// for CVS
    129121//static char cvsid[] = "$Id$";
  • branches/2.05/mondo/mondo/mondoarchive/mondo-cli.c

    r116 r213  
    166166#include "mondo-cli-EXT.h"
    167167#include "../common/libmondo.h"
    168 
    169 
    170 
    171 #ifndef VERSION
    172 #define VERSION AUX_VER
    173 #endif
    174 
    175 
    176168
    177169//static char cvsid[] = "$Id$";
  • branches/2.05/mondo/mondo/mondorestore/mondo-restore.c

    r179 r213  
    399399#define g_ISO_restore_mode __mondorestore_g_ISO_restore_mode
    400400#endif
    401 
    402 #ifndef VERSION
    403 #define VERSION AUX_VER
    404 #endif
    405 
    406 char g_version[] = VERSION;
    407 
    408401
    409402//static char cvsid[] = "$Id$";
     
    31943187    char *tmp;
    31953188
    3196 #ifndef VERSION
    3197 #define VERSION "1.7x_cvs"
    3198 #endif
    3199 
    32003189    struct mountlist_itself *mountlist;
    32013190    struct raidlist_itself *raidlist;
Note: See TracChangeset for help on using the changeset viewer.