commit 00ef6b8d3b84429855466bc28237be5354f8dc13
parent 28ff229a685fb2073949f51d10fa7626f704ade5
Author: leitner <leitner>
Date: Thu, 25 Sep 2014 11:20:54 +0000
typo in minit.8
use MINITROOT in make install
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -34,6 +34,8 @@ endif
ifneq ($(MINITROOT),)
CFLAGS+="-DMINITROOT=\"$(MINITROOT)\""
+else
+MINITROOT=/etc/minit
endif
LDLIBS=-lowfat
@@ -78,7 +80,7 @@ killall5: killall5.c
$(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
install-files:
- install -d $(DESTDIR)/etc/minit $(DESTDIR)/sbin $(DESTDIR)/bin $(DESTDIR)$(MANDIR)/man8
+ install -d $(DESTDIR)$(MINITROOT) $(DESTDIR)/sbin $(DESTDIR)/bin $(DESTDIR)$(MANDIR)/man8
install minit pidfilehack $(DESTDIR)/sbin
install write_proc hard-reboot minit-update $(DESTDIR)/sbin
install msvc serdo $(DESTDIR)/bin
@@ -87,7 +89,7 @@ install-files:
install -m 644 hard-reboot.8 minit-list.8 minit-shutdown.8 minit-update.8 minit.8 msvc.8 pidfilehack.8 serdo.8 $(DESTDIR)$(MANDIR)/man8
install-fifos:
- -mkfifo -m 600 $(DESTDIR)/etc/minit/in $(DESTDIR)/etc/minit/out
+ -mkfifo -m 600 $(DESTDIR)$(MINITROOT)/in $(DESTDIR)$(MINITROOT)/out
install: install-files install-fifos
diff --git a/minit.8 b/minit.8
@@ -6,7 +6,7 @@ minit \- a UNIX process no 1
.SH DESCRIPTION
.B minit
-is a possible first process the kernel starts
+is a possible first process the kernel starts.
to use minit as system init, first read available documentation in
.I /usr/share/doc/minit