summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 064af0c..ba1a798 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ DIRS := \
/usr/lib/initscripts \
/etc/bash_completion.d \
/usr/share/zsh/site-functions \
+ /usr/share/man/man5 \
/usr/share/man/man8
all: doc
@@ -29,6 +30,7 @@ install: installdirs doc
install -m755 -t $(DESTDIR)/etc/profile.d locale.sh
install -m755 -t $(DESTDIR)/usr/sbin rc.d
install -m644 -t ${DESTDIR}/usr/share/man/man8 rc.d.8
+ install -m644 -t ${DESTDIR}/usr/share/man/man5 rc.conf.5 locale.conf.5 vconsole.conf.5 hostname.5
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
@@ -37,10 +39,22 @@ install: installdirs doc
rc.d.8: rc.d.8.txt
a2x -d manpage -f manpage rc.d.8.txt
-doc: rc.d.8
+rc.conf.5: rc.conf.5.txt
+ a2x -d manpage -f manpage rc.conf.5.txt
+
+locale.conf.5: locale.conf.5.txt
+ a2x -d manpage -f manpage locale.conf.5.txt
+
+vconsole.conf.5: vconsole.conf.5.txt
+ a2x -d manpage -f manpage vconsole.conf.5.txt
+
+hostname.5: hostname.5.txt
+ a2x -d manpage -f manpage hostname.5.txt
+
+doc: rc.d.8 rc.conf.5 locale.conf.5 vconsole.conf.5 hostname.5
clean:
- rm -f rc.d.8
+ rm -f rc.d.8 rc.conf.5 locale.conf.5 vconsole.conf.5 hostname.5
tar:
git archive HEAD --prefix=initscripts-$(VER)/ | xz > initscripts-$(VER).tar.xz