diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-10-01 10:59:30 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-10-18 09:37:03 +0200 |
commit | 0c29f8612420d94006b6d7b274762764faf7dd0b (patch) | |
tree | 7f0d35fc6d09e70e4615df59f9c8e238e3b634e8 /Makefile | |
parent | 137a7347ff975e4988d7fd999a0a6c32fee0464b (diff) |
Add rc.d manual page2011.10.1
Thanks to Elvis Stansvik <elvstone@gmail.com> for its template.
Fix bug: FS#25269
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -12,14 +12,17 @@ DIRS := \ /usr/lib/sysctl.d \ /usr/lib/initscripts \ /etc/bash_completion.d \ - /usr/share/zsh/site-functions + /usr/share/zsh/site-functions \ + /usr/share/man/man8 + +all: minilogd doc minilogd: minilogd.o installdirs: install -dm755 $(foreach DIR, $(DIRS), $(DESTDIR)$(DIR)) -install: minilogd installdirs +install: minilogd installdirs doc install -m644 -t $(DESTDIR)/etc inittab rc.conf install -m755 -t $(DESTDIR)/etc rc.local rc.local.shutdown rc.multi rc.shutdown rc.single rc.sysinit install -m644 -t $(DESTDIR)/etc/logrotate.d bootlog @@ -27,13 +30,19 @@ install: minilogd installdirs install -m755 -t $(DESTDIR)/etc/rc.d hwclock network netfs install -m755 -t $(DESTDIR)/etc/profile.d locale.sh install -m755 -t $(DESTDIR)/usr/sbin minilogd rc.d + install -m644 -t ${DESTDIR}/usr/share/man/man8 rc.d.8 install -m755 -t $(DESTDIR)/usr/lib/initscripts arch-tmpfiles arch-sysctl install -m644 tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d/arch.conf install -m644 -T bash-completion $(DESTDIR)/etc/bash_completion.d/rc.d install -m644 -T zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_rc.d +rc.d.8: rc.d.8.txt + a2x -d manpage -f manpage rc.d.8.txt + +doc: rc.d.8 + clean: - rm -f minilogd minilogd.o + rm -f minilogd minilogd.o rc.d.8 release: git archive HEAD --prefix=initscripts-$(VER)/ | xz > initscripts-$(VER).tar.xz |