From c4fae9925db0ec3b926ff708ebc5b6500cb2dfdf Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 8 Jul 2003 09:06:50 +0000 Subject: [PATCH] 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 --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Makefile b/Makefile index 2c08f798..cd7b6dd2 100644 --- a/Makefile +++ b/Makefile @@ -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-*