mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
add DESTDIR. patch from
Sergey Vlasov <vsu@altlinux.ru> git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2164 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -23,7 +23,8 @@ PROGEEPROMTARGETS := $(MODULE_DIR)/decode-dimms.pl \
|
||||
$(MODULE_DIR)/decode-vaio.pl
|
||||
|
||||
install-prog-eeprom: $(PROGEEPROMTARGETS)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGEEPROMTARGETS) $(BINDIR)
|
||||
$(MKDIR) $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGEEPROMTARGETS) $(DESTDIR)$(BINDIR)
|
||||
|
||||
user_install :: install-prog-eeprom
|
||||
|
||||
|
@@ -22,7 +22,8 @@ PROGPWMTARGETS := $(MODULE_DIR)/fancontrol \
|
||||
$(MODULE_DIR)/pwmconfig
|
||||
|
||||
install-prog-pwm: $(PROGPWMTARGETS)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGPWMTARGETS) $(SBINDIR)
|
||||
$(MKDIR) $(DESTDIR)$(SBINDIR)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGPWMTARGETS) $(DESTDIR)$(SBINDIR)
|
||||
|
||||
user_install :: install-prog-pwm
|
||||
|
||||
|
@@ -21,7 +21,8 @@ PROGXEONDIR := $(MODULE_DIR)
|
||||
PROGXEONTARGETS := $(MODULE_DIR)/decode-xeon.pl
|
||||
|
||||
install-prog-xeon: $(PROGXEONTARGETS)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGXEONTARGETS) $(BINDIR)
|
||||
$(MKDIR) $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGXEONTARGETS) $(DESTDIR)$(BINDIR)
|
||||
|
||||
user_install :: install-prog-xeon
|
||||
|
||||
|
Reference in New Issue
Block a user