Explorar el Código

New make release in top level makefile

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1077 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake hace 19 años
padre
commit
a58dd5a88e
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 3
      exec/main.c
  2. 1 0
      exec/version.h

+ 2 - 3
exec/main.c

@@ -75,11 +75,10 @@
 #include "timer.h"
 #include "timer.h"
 #include "print.h"
 #include "print.h"
 #include "util.h"
 #include "util.h"
+#include "version.h"
 
 
 #define SERVER_BACKLOG 5
 #define SERVER_BACKLOG 5
 
 
-static char *release_name = "Wilson version 0.77";
-
 static int ais_uid = 0;
 static int ais_uid = 0;
 
 
 static int gid_valid = 0;
 static int gid_valid = 0;
@@ -376,7 +375,7 @@ int main (int argc, char **argv)
  	int totem_log_service;
  	int totem_log_service;
  	log_init ("MAIN");
  	log_init ("MAIN");
 
 
-	log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service RELEASE %s\n", release_name);
+	log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service RELEASE '%s'\n", RELEASE_VERSION);
 	log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.\n");
 	log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.\n");
 	log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2006 Red Hat, Inc.\n");
 	log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2006 Red Hat, Inc.\n");
 
 

+ 1 - 0
exec/version.h

@@ -0,0 +1 @@
+#define RELEASE_VERSION "trunk"