diff options
author | NeilBrown <neilb@suse.de> | 2008-11-04 10:50:39 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-04 10:50:39 +0100 |
commit | 757a5d74ff11aadb87c9ff8e038c7140d2c457a8 (patch) | |
tree | f262e6d345a05d18f703400860038dada341e2a0 /Makefile | |
parent | detail: --export also provided MD_DEVNAME (diff) | |
download | mdadm-757a5d74ff11aadb87c9ff8e038c7140d2c457a8.tar.xz mdadm-757a5d74ff11aadb87c9ff8e038c7140d2c457a8.zip |
Add udev rules file for mdadm.
This is based on the rules from openSUSE 11.1-rc3.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -177,7 +177,7 @@ $(MON_OBJS) : mdadm.h mdmon.h bitmap.h sha1.o : sha1.c sha1.h md5.h $(CC) $(CFLAGS) -DHAVE_STDINT_H -o sha1.o -c sha1.c -install : mdadm mdmon install-man +install : mdadm mdmon install-man install-udev $(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm $(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon @@ -198,6 +198,9 @@ install-man: mdadm.8 md.4 mdadm.conf.5 $(INSTALL) -D -m 644 md.4 $(DESTDIR)$(MAN4DIR)/md.4 $(INSTALL) -D -m 644 mdadm.conf.5 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 +install-udev: udev-md-raid.rules + $(INSTALL) -D -m 644 udev-md-raid.rules /lib/udev/rules.d/64-md-raid.rules + uninstall: rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 md.4 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm |