lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@
lcd4linux_SOURCES = \
-lcd4linux.c svn_version.h \
+lcd4linux.c vcs_version.h \
cfg.c cfg.h \
debug.c debug.h \
drv.c drv.h \
EXTRA_DIST = \
-svn_version.sh \
+vcs_version.sh \
lcd4linux.conf.sample \
lcd4kde.conf \
lcd4linux.kdelnk \
-# create subversion version
+# create version
-.PHONY: svn_version
-
-svn_version:
- svn_version.sh
+.PHONY: vcs_version
+vcs_version:
+ ./vcs_version.sh
#include <sys/types.h> /* umask() */
#include <sys/stat.h> /* umask() */
-#include "svn_version.h"
+#include "vcs_version.h"
#include "cfg.h"
#include "debug.h"
#include "qprintf.h"
#define PIDFILE "/var/run/lcd4linux.pid"
-static char *release = "LCD4Linux " VERSION "-" SVN_VERSION;
+static char *release = "LCD4Linux " VERSION "-" VCS_VERSION;
static char *copyright =
"Copyright (C) 2005, 2006, 2007, 2008, 2009 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>";
static char **my_argv;
+++ /dev/null
-#!/bin/sh
-
-# $Id$
-# $URL$
-
-
-OLD_VERSION=`cat svn_version.h 2>/dev/null`
-
-if [ -d .svn ]; then
- NEW_VERSION="#define SVN_VERSION \"`svnversion -n`\""
-fi
-
-if [ "$NEW_VERSION" != "$OLD_VERSION" ]; then
- echo $NEW_VERSION >svn_version.h
-fi