Move chroot(8) and unmount(8) to sbin.
This commit is contained in:
parent
2864faaa6c
commit
169e10ab4b
|
@ -15,7 +15,6 @@ basename \
|
||||||
cat \
|
cat \
|
||||||
chkblayout \
|
chkblayout \
|
||||||
chmod \
|
chmod \
|
||||||
chroot \
|
|
||||||
chvideomode \
|
chvideomode \
|
||||||
clear \
|
clear \
|
||||||
colormake \
|
colormake \
|
||||||
|
@ -63,7 +62,6 @@ true \
|
||||||
type \
|
type \
|
||||||
uname \
|
uname \
|
||||||
uniq \
|
uniq \
|
||||||
unmount \
|
|
||||||
uptime \
|
uptime \
|
||||||
wc \
|
wc \
|
||||||
which \
|
which \
|
||||||
|
@ -73,7 +71,7 @@ BINARIES=\
|
||||||
$(BINARIES_EXCEPT_INSTALL) \
|
$(BINARIES_EXCEPT_INSTALL) \
|
||||||
xinstall
|
xinstall
|
||||||
|
|
||||||
MANPAGES=\
|
MANPAGES1=\
|
||||||
chkblayout.1 \
|
chkblayout.1 \
|
||||||
kernelinfo.1 \
|
kernelinfo.1 \
|
||||||
memstat.1 \
|
memstat.1 \
|
||||||
|
@ -81,7 +79,13 @@ pager.1 \
|
||||||
passwd.1 \
|
passwd.1 \
|
||||||
readlink.1 \
|
readlink.1 \
|
||||||
|
|
||||||
all: $(BINARIES)
|
SBINS=\
|
||||||
|
chroot \
|
||||||
|
unmount \
|
||||||
|
|
||||||
|
MANPAGES8=\
|
||||||
|
|
||||||
|
all: $(BINARIES) $(SBINS)
|
||||||
|
|
||||||
.PHONY: all install clean
|
.PHONY: all install clean
|
||||||
|
|
||||||
|
@ -89,11 +93,15 @@ install: all
|
||||||
mkdir -p $(DESTDIR)$(BINDIR)
|
mkdir -p $(DESTDIR)$(BINDIR)
|
||||||
install $(BINARIES_EXCEPT_INSTALL) $(DESTDIR)$(BINDIR)
|
install $(BINARIES_EXCEPT_INSTALL) $(DESTDIR)$(BINDIR)
|
||||||
install xinstall $(DESTDIR)$(BINDIR)/install
|
install xinstall $(DESTDIR)$(BINDIR)/install
|
||||||
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
||||||
|
install $(SBINS) $(DESTDIR)$(SBINDIR)
|
||||||
mkdir -p $(DESTDIR)$(MANDIR)/man1
|
mkdir -p $(DESTDIR)$(MANDIR)/man1
|
||||||
cp $(MANPAGES) $(DESTDIR)$(MANDIR)/man1
|
cp $(MANPAGES1) $(DESTDIR)$(MANDIR)/man1
|
||||||
|
#mkdir -p $(DESTDIR)$(MANDIR)/man8
|
||||||
|
#cp $(MANPAGES8) $(DESTDIR)$(MANDIR)/man8
|
||||||
|
|
||||||
%: %.c
|
%: %.c
|
||||||
$(CC) -std=gnu11 $(CFLAGS) $(CPPFLAGS) $< -o $@
|
$(CC) -std=gnu11 $(CFLAGS) $(CPPFLAGS) $< -o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(BINARIES) *.o
|
rm -f $(BINARIES) $(SBINS) *.o
|
||||||
|
|
Loading…
Reference in New Issue