2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +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:
Jean Delvare
2003-07-08 09:06:50 +00:00
parent 424012d9ec
commit c4fae9925d

View File

@@ -253,11 +253,29 @@ user ::
user_install::
all :: user
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),)
-/sbin/depmod -a
else
-/sbin/depmod -a -b $(DESTDIR)
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::
$(RM) lm_sensors-*