mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-02 15:25:38 +00:00
Add two important notes about the configuration file and dmidecode
after "make install". git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1874 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
18
Makefile
18
Makefile
@@ -253,11 +253,29 @@ user ::
|
|||||||
user_install::
|
user_install::
|
||||||
all :: user
|
all :: user
|
||||||
install :: all user_install
|
install :: all user_install
|
||||||
|
@echo "*** The depmod command below may generate errors. We are aware of the"
|
||||||
|
@echo "*** problem and are working on a solution. You should ignore them for now."
|
||||||
ifeq ($(DESTDIR),)
|
ifeq ($(DESTDIR),)
|
||||||
-/sbin/depmod -a
|
-/sbin/depmod -a
|
||||||
else
|
else
|
||||||
-/sbin/depmod -a -b $(DESTDIR)
|
-/sbin/depmod -a -b $(DESTDIR)
|
||||||
endif
|
endif
|
||||||
|
@echo "*** Installation successful!"
|
||||||
|
@echo "*** Important notes:"
|
||||||
|
@echo "*** 1* The libsensors configuration file ($(ETCDIR)/sensors.conf) is never"
|
||||||
|
@echo "*** overwritten by our installation process, so that you won't lose"
|
||||||
|
@echo "*** your personal settings in that file. You still can get our latest"
|
||||||
|
@echo "*** default config file in etc/sensors.conf.eg and manually copy it to"
|
||||||
|
@echo "*** $(ETCDIR)/sensors.conf if you want. You will then want to edit it"
|
||||||
|
@echo "*** to fit your needs again."
|
||||||
|
@echo "*** 2* The dmidecode tool ($(SBINDIR)/dmidecode) is not necessarily"
|
||||||
|
@echo "*** overwritten either, because we don't distribute the latest version."
|
||||||
|
@echo "*** If you know you have an old one (1.7 or earlier), you should copy"
|
||||||
|
@echo "*** our version (prog/detect/dmidecode) to $(SBINDIR)/dmidecode. Our"
|
||||||
|
@echo "*** installation process relies on a simple date comparison to decide"
|
||||||
|
@echo "*** wether or not it should overwrite the file, but the trick may"
|
||||||
|
@echo "*** fail if for any reason you installed an old verion of dmidecode"
|
||||||
|
@echo "*** at a time a newer version was available."
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
$(RM) lm_sensors-*
|
$(RM) lm_sensors-*
|
||||||
|
Reference in New Issue
Block a user