From f905e5f242b58503953a9685138bc806806ddb4f Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 10 Jul 2007 19:38:14 +0000 Subject: [PATCH] Delete LM_DATE and libsensors_date. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4601 7894878c-1315-0410-8ee3-d5d059ff63e0 --- Makefile | 10 ++-------- lib/data.c | 1 - version.h | 1 - 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 15ebaf06..6f2b3978 100644 --- a/Makefile +++ b/Makefile @@ -154,7 +154,7 @@ ARCFLAGS := $(ALL_CFLAGS) LIBCPPFLAGS := $(ALL_CPPFLAGS) LIBCFLAGS := -fpic -D_REENTRANT $(ALL_CFLAGS) -.PHONY: all user clean install user_install uninstall user_uninstall version package +.PHONY: all user clean install user_install uninstall user_uninstall package # Make all the default rule all:: @@ -201,7 +201,7 @@ uninstall :: user_uninstall # This is tricky, but it works like a charm. It needs lots of utilities # though: cut, find, gzip, ln, tail and tar. -package: version clean +package: version.h clean lmversion=`tail -1 version.h|cut -f 2 -d \"`; \ lmpackage=lm_sensors-$$lmversion; \ ln -s . $$lmpackage; \ @@ -215,12 +215,6 @@ package: version clean $(RM) $$lmpackage.tar $$lmpackage cat doc/developers/checklist -version: - $(RM) version.h - echo '#define LM_DATE "'`date +'%Y%m%d'`\" > version.h - echo -n 'Version: '; \ - echo '#define LM_VERSION "'`read VER; echo $$VER`\" >> version.h - help: @echo 'Make targets are:' @echo ' all (default): build library and userspace programs' diff --git a/lib/data.c b/lib/data.c index 3f9b7013..d5e23523 100644 --- a/lib/data.c +++ b/lib/data.c @@ -26,7 +26,6 @@ #include "../version.h" const char *libsensors_version = LM_VERSION; -const char *libsensors_date = LM_DATE; sensors_chip *sensors_config_chips = NULL; int sensors_config_chips_count = 0; diff --git a/version.h b/version.h index 5f0daf87..8310b132 100644 --- a/version.h +++ b/version.h @@ -1,2 +1 @@ -#define LM_DATE "2007xxxx" #define LM_VERSION "3.0.0-pre"