blob: 61274d1b370f9be1928368e67d5847f20de92401 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- Makefile.orig 2014-06-11 16:18:20.986640596 +0800
+++ Makefile 2014-06-11 16:18:10.000000000 +0800
@@ -17,9 +17,9 @@ clean:
rm -f ${OBJS} ${REALOBJS} ${BIN} ${BIN}.core ${BIN}.test ${BIN}.test.core
install:
- install -d ${PREFIX}/sbin/
- install -d ${PREFIX}/share/mtxorbd/
- install -d ${PREFIX}/man/man1/
- install -C -o root -g bin -m 555 mtxorbd ${PREFIX}/sbin/
- install -C -o root -g bin -m 444 devices.conf ${PREFIX}/share/mtxorbd/
- install -C -o root -g man -m 444 mtxorbd.1 ${PREFIX}/man/man1/
+ install -d $(DESTDIR)${PREFIX}/sbin/
+ install -d $(DESTDIR)${PREFIX}/share/mtxorbd/
+ install -d $(DESTDIR)${PREFIX}/man/man1/
+ $(BSD_INSTALL_PROGRAM) mtxorbd $(DESTDIR)${PREFIX}/sbin/
+ $(BSD_INSTALL_DATA) devices.conf $(DESTDIR)${PREFIX}/share/mtxorbd/
+ $(BSD_INSTALL_MAN) mtxorbd.1 $(DESTDIR)${PREFIX}/share/man/man1/
|