2010-04-06 16:32:12 +00:00
|
|
|
--- mdadm-3.1.2/Makefile.static 2010-04-06 11:55:03.098505021 -0400
|
|
|
|
+++ mdadm-3.1.2/Makefile 2010-04-06 11:55:44.120254408 -0400
|
|
|
|
@@ -62,9 +62,9 @@ CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)
|
|
|
|
# pivotroot from early boot to late boot.
|
2010-02-17 19:25:15 +00:00
|
|
|
# If you don't have /lib/init/rw you might want to use /dev/.something
|
2010-04-06 16:32:12 +00:00
|
|
|
# e.g. make MAP_DIR=/dev/.mdadm
|
|
|
|
-MAP_DIR = /lib/init/rw/mdadm
|
|
|
|
-MAP_FILE = map
|
|
|
|
-MDMON_DIR = /lib/init/rw/mdmon
|
|
|
|
+MAP_DIR = /dev/md
|
|
|
|
+MAP_FILE = md-device-map
|
|
|
|
+MDMON_DIR = /dev/md
|
|
|
|
DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\"
|
|
|
|
DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\"
|
|
|
|
CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS)
|
|
|
|
@@ -206,16 +206,16 @@ install : mdadm mdmon install-man instal
|
2009-02-12 15:40:59 +00:00
|
|
|
$(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
|
2006-07-07 19:24:16 +00:00
|
|
|
|
|
|
|
install-static : mdadm.static install-man
|
|
|
|
- $(INSTALL) -D $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm
|
2009-02-12 15:40:59 +00:00
|
|
|
+ $(INSTALL) -D $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm.static
|
2006-07-07 19:24:16 +00:00
|
|
|
|
|
|
|
install-tcc : mdadm.tcc install-man
|
|
|
|
- $(INSTALL) -D $(STRIP) -m 755 mdadm.tcc $(DESTDIR)$(BINDIR)/mdadm
|
2009-02-12 15:40:59 +00:00
|
|
|
+ $(INSTALL) -D $(STRIP) -m 755 mdadm.tcc $(DESTDIR)$(BINDIR)/mdadm.tcc
|
2006-07-07 19:24:16 +00:00
|
|
|
|
|
|
|
install-uclibc : mdadm.uclibc install-man
|
|
|
|
- $(INSTALL) -D $(STRIP) -m 755 mdadm.uclibc $(DESTDIR)$(BINDIR)/mdadm
|
2009-02-12 15:40:59 +00:00
|
|
|
+ $(INSTALL) -D $(STRIP) -m 755 mdadm.uclibc $(DESTDIR)$(BINDIR)/mdadm.uclibc
|
2006-07-07 19:24:16 +00:00
|
|
|
|
|
|
|
install-klibc : mdadm.klibc install-man
|
|
|
|
- $(INSTALL) -D $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm
|
2009-02-12 15:40:59 +00:00
|
|
|
+ $(INSTALL) -D $(STRIP) -m 755 mdadm.klibc $(DESTDIR)$(BINDIR)/mdadm.klibc
|
2006-07-07 19:24:16 +00:00
|
|
|
|
2009-06-29 19:22:06 +00:00
|
|
|
install-man: mdadm.8 md.4 mdadm.conf.5 mdmon.8
|
2006-07-07 19:24:16 +00:00
|
|
|
$(INSTALL) -D -m 644 mdadm.8 $(DESTDIR)$(MAN8DIR)/mdadm.8
|