From 9f16bd102ac588a85dddcd8557c2217752528e5c Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 23 Jan 2007 04:38:43 +0000 Subject: try to add svn version git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@756 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- lcd4linux.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lcd4linux.c') diff --git a/lcd4linux.c b/lcd4linux.c index 87fc47b..33a41e7 100644 --- a/lcd4linux.c +++ b/lcd4linux.c @@ -5,7 +5,7 @@ * LCD4Linux * * Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt - * Copyright (C) 2004 The LCD4Linux Team + * Copyright (C) 2004, 2005, 2006, 2007 The LCD4Linux Team * * This file is part of LCD4Linux. * @@ -36,6 +36,7 @@ #include #include +#include "svn_version.h" #include "cfg.h" #include "debug.h" #include "qprintf.h" @@ -56,8 +57,8 @@ #define PIDFILE "/var/run/lcd4linux.pid" -static char *release = "LCD4Linux " VERSION; -static char *copyright = "Copyright (C) 2005 The LCD4Linux Team "; +static char *release = "LCD4Linux " VERSION "-" SVN_VERSION; +static char *copyright = "Copyright (C) 2005, 2006, 2007 The LCD4Linux Team "; static char **my_argv; extern char *output; @@ -255,7 +256,7 @@ int main(int argc, char *argv[]) running_foreground = 1; } - info("Version " VERSION " starting"); + info("Version " VERSION "-" SVN_VERSION " starting"); if (!running_foreground && (my_argv[0] == NULL || my_argv[0][0] != '/')) { info("invoked without full path; restart may not work!"); } -- cgit v1.2.3