mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
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
This commit is contained in:
1 parent
d5d0476273
commit
f905e5f242
3 files changed
+2
-10
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user