From 4db0f60d9a92c58d6b2e03950696ed0431124f6f Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 26 Sep 2007 21:52:50 +0000 Subject: [PATCH] Install sensors-conf-convert as part of "make install". Users may need to convert their configuration file after installation, in particular if they install a distribution package. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4893 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + etc/Module.mk | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGES b/CHANGES index 6f0f1068..2340b9bd 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ lm-sensors CHANGES file ----------------------- SVN + Makefile: Add sensors-conf-convert to make install sensord: Log the error code on failure sensors: Fix spurious critical temperature alarm diff --git a/etc/Module.mk b/etc/Module.mk index 389c30b4..f71eb08a 100644 --- a/etc/Module.mk +++ b/etc/Module.mk @@ -31,6 +31,14 @@ install-etc: if [ ! -e $(DESTDIR)$(ETCINSTALL) ] ; then \ $(INSTALL) -m 644 $(ETCTARGET) $(DESTDIR)$(ETCINSTALL); \ fi + $(MKDIR) $(DESTDIR)$(BINDIR) + $(INSTALL) -m 755 $(MODULE_DIR)/sensors-conf-convert $(DESTDIR)$(BINDIR) + user_install :: install-etc +uninstall-etc: + $(RM) $(DESTDIR)$(BINDIR)/sensors-conf-convert + +user_uninstall :: uninstall-etc + # No clean rule