blob: a4fc3b9a251d55ded9f00f9753e2f7bad9d7ed85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- Makefile.org 2004-04-14 16:37:03.000000000 +0200
+++ Makefile 2004-04-14 16:37:00.000000000 +0200
@@ -42,6 +42,10 @@
INITD=etc/rc.d/init.d/
endif
+ifeq ($DIST),gentoo)
+ INITD=$(PREFIX)sbin/
+endif
+
ifeq ($(INITD),,)
$(warning Can not guess distribution INITD, please fix Makefile.vars)
$(warning Assume INITD=etc/init.d according to LSB)
@@ -54,15 +58,15 @@
install:
mkdir -p $(PREFIX)etc/ha.d/resource.d
install -D -m 755 drbd $(PREFIX)$(INITD)/drbd
- @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \
- install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \
- fi
+# @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \
+# install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \
+# fi
ln -sf ../../../$(INITD)drbd $(PREFIX)etc/ha.d/resource.d/datadisk
-ifeq ($(DIST),suse)
- ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd
-endif
- @ echo
- @ echo "Don't forget to run update-rc.d or chkconfig"
+#ifeq ($(DIST),suse)
+# ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd
+#endif
+# @ echo
+# @ echo "Don't forget to run update-rc.d or chkconfig"
clean:
rm -f *~
|