summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-02 11:20:19 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-02-02 11:20:19 -0300
commit9ad92500fdf09bad8be7fa5b68e9c45414f77819 (patch)
tree31aa0d2454145f98aaba196b5561714fcff7ce8b /Makefile
parent4b1f5945f1d544b5e25ef9a86ebc3d28515c233a (diff)
parentf31bbefc876aadbd9eee3750a1a1a606a2053028 (diff)
Merge git://projects.archlinux.org/initscripts
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