diff -pruN sysvinit-2.90/src/Makefile sysvinit-2.90.new/src/Makefile
old
|
new
|
MNTPOINT=
|
24 | 24 | # For some known distributions we do not build all programs, otherwise we do. |
25 | 25 | BIN = |
26 | 26 | SBIN = init halt shutdown runlevel killall5 fstab-decode |
27 | | USRBIN = last mesg |
| 27 | #USRBIN = last mesg |
28 | 28 | |
29 | | MAN1 = last.1 lastb.1 mesg.1 |
| 29 | #MAN1 = last.1 lastb.1 mesg.1 |
30 | 30 | MAN5 = initscript.5 inittab.5 initctl.5 |
31 | | MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 |
| 31 | #MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 |
| 32 | MAN8 = halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8 |
32 | 33 | MAN8 += shutdown.8 telinit.8 fstab-decode.8 |
33 | 34 | |
34 | 35 | ifeq ($(DISTRO),) |
35 | | SBIN += sulogin bootlogd |
36 | | USRBIN += utmpdump wall |
37 | | MAN1 += utmpdump.1 wall.1 |
38 | | MAN8 += sulogin.8 bootlogd.8 |
| 36 | SBIN += bootlogd |
| 37 | #SBIN += sulogin bootlogd |
| 38 | #USRBIN += utmpdump wall |
| 39 | #MAN1 += utmpdump.1 wall.1 |
| 40 | MAN8 += bootlogd.8 |
| 41 | #MAN8 += sulogin.8 bootlogd.8 |
39 | 42 | endif |
40 | 43 | |
41 | 44 | ifeq ($(DISTRO),Debian) |
… |
… |
install:
|
192 | 195 | ln -sf halt $(ROOT)/sbin/reboot |
193 | 196 | ln -sf halt $(ROOT)/sbin/poweroff |
194 | 197 | ln -sf init $(ROOT)/sbin/telinit |
195 | | ln -sf /sbin/killall5 $(ROOT)/bin/pidof |
196 | | if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ |
197 | | ln -sf last $(ROOT)/usr/bin/lastb; \ |
198 | | fi |
| 198 | #ln -sf /sbin/killall5 $(ROOT)/bin/pidof |
| 199 | #if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ |
| 200 | # ln -sf last $(ROOT)/usr/bin/lastb; \ |
| 201 | #fi |
199 | 202 | $(INSTALL_DIR) $(ROOT)/usr/include/ |
200 | 203 | $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/ |
201 | 204 | $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/ |
… |
… |
install:
|
213 | 216 | $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man8/; \ |
214 | 217 | sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man8/$$man ; \ |
215 | 218 | done |
216 | | ifeq ($(ROOT),) |
| 219 | #ifeq ($(ROOT),) |
217 | 220 | # |
218 | 221 | # This part is skipped on Debian systems, the |
219 | 222 | # debian.preinst script takes care of it. |
220 | | @if [ ! -p /run/initctl ]; then \ |
221 | | echo "Creating /run/initctl"; \ |
222 | | rm -f /run/initctl; \ |
223 | | mknod -m 600 /run/initctl p; fi |
224 | | endif |
| 223 | # @if [ ! -p /run/initctl ]; then \ |
| 224 | # echo "Creating /run/initctl"; \ |
| 225 | # rm -f /run/initctl; \ |
| 226 | # mknod -m 600 /run/initctl p; fi |
| 227 | #endif |