summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-18 02:05:25 +0200
committerDave Reisner <dreisner@archlinux.org>2012-04-22 05:43:52 +0200
commita00605154eb9502845248a280049435354d15d94 (patch)
tree65da388fa42bfd449ce44913614381333f7ec9a4 /Makefile
parent86dc2a6d71b9330991ab48b9ba00936cd8370182 (diff)
downloadmkinitcpio-a00605154eb9502845248a280049435354d15d94.tar.gz
mkinitcpio-a00605154eb9502845248a280049435354d15d94.tar.xz
Add manpage for lsinitcpio
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a81c818..81abcdd 100644
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,12 @@ DIRS = \
/usr/lib/initcpio/hooks \
/usr/lib/initcpio/install \
/usr/lib/initcpio/udev \
- /usr/share/man/man8
+ /usr/share/man/man8 \
+ /usr/share/man/man1
DIST_EXTRA = \
- mkinitcpio.8
+ mkinitcpio.8 \
+ lsinitcpio.1
all: doc
@@ -44,9 +46,10 @@ install: all
install -m644 -t ${DESTDIR}/etc/mkinitcpio.d mkinitcpio.d/*
install -m644 mkinitcpio.8 ${DESTDIR}/usr/share/man/man8/mkinitcpio.8
+ install -m644 lsinitcpio.1 ${DESTDIR}/usr/share/man/man1/lsinitcpio.1
install -m644 bash-completion ${DESTDIR}/usr/share/bash-completion/completions/mkinitcpio
-doc: mkinitcpio.8
+doc: mkinitcpio.8 lsinitcpio.1
mkinitcpio.8: mkinitcpio.8.txt Makefile
a2x -d manpage \
-f manpage \
@@ -54,6 +57,13 @@ mkinitcpio.8: mkinitcpio.8.txt Makefile
-a manversion=${VERSION} \
-a manmanual=mkinitcpio mkinitcpio.8.txt
+lsinitcpio.1: lsinitcpio.1.txt Makefile
+ a2x -d manpage \
+ -f manpage \
+ -a mansource=lsinitcpio \
+ -a manversion=${VERSION} \
+ -a manmanual=lsinitcpio lsinitcpio.1.txt
+
clean:
${RM} -r build mkinitcpio-${VERSION}
${RM} mkinitcpio-${VERSION}.tar.gz mkinitcpio.8 mkinitcpio.8.gz