summaryrefslogtreecommitdiff
path: root/extras/multipath/Makefile
diff options
context:
space:
mode:
authorchristophe.varoqui@free.fr <christophe.varoqui@free.fr>2003-12-22 20:53:55 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:10 -0700
commit01ff79f58925dd26a717ae78f201d739053b5477 (patch)
treeada112d67746f225875f6f83e1ba7084e588b5f2 /extras/multipath/Makefile
parent88bca8484d88ce543f40d631ec9048795a725c13 (diff)
[PATCH] extras multipath update
incremental to 20031222-2, 2003-12-22 multipath-010 * tweak the install target in Makefile * stop passing fds as argument : this change enable a strict segregation of ugly 2.4 code * sysfs version of get_lun_strings() * be careful about the return of get_unique_id() since errors formerly caught up by if(open()) in the caller fn are now returned by get_unique_id() * send get_serial() in unused.c
Diffstat (limited to 'extras/multipath/Makefile')
-rw-r--r--extras/multipath/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/multipath/Makefile b/extras/multipath/Makefile
index 89e6f35185..99036a6a00 100644
--- a/extras/multipath/Makefile
+++ b/extras/multipath/Makefile
@@ -4,9 +4,9 @@
EXEC = multipath
-prefix = /usr/local
+prefix =
exec_prefix = ${prefix}
-bindir = ${exec_prefix}/bin
+bindir = ${exec_prefix}/sbin
udevdir = ../..
klibcdir = $(udevdir)/klibc
sysfsdir = $(udevdir)/libsysfs
@@ -52,6 +52,8 @@ clean:
install:
install -d $(bindir)
install -m 755 $(EXEC) $(bindir)/
+ install -d /etc/hotplug.d/scsi/
+ install -m 755 multipath.hotplug /etc/hotplug.d/scsi/
# Code dependencies
main.o: main.c main.h sg_include.h