diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-01-23 04:38:43 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-01-23 04:38:43 +0000 |
commit | 9f16bd102ac588a85dddcd8557c2217752528e5c (patch) | |
tree | 5594bf2f4b3ca0c4d3f5cd400c6e761823c907be /lcd4linux.c | |
parent | 69e5f2ef2745bb2a47b65850cc9c0fd55f1f66e3 (diff) | |
download | lcd4linux-9f16bd102ac588a85dddcd8557c2217752528e5c.tar.gz |
try to add svn version
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@756 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'lcd4linux.c')
-rw-r--r-- | lcd4linux.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 <reinelt@eunet.at> - * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> + * Copyright (C) 2004, 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net> * * This file is part of LCD4Linux. * @@ -36,6 +36,7 @@ #include <signal.h> #include <time.h> +#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 <lcd4linux-devel@users.sourceforge.net>"; +static char *release = "LCD4Linux " VERSION "-" SVN_VERSION; +static char *copyright = "Copyright (C) 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>"; 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!"); } |