[arch-projects] [mkinitcpio][PATCH 1/4] move manpage to section 8

Dave Reisner d at falconindy.com
Sun Oct 16 11:53:32 EDT 2011


This is an admin command, not a config file.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 Makefile                             |   14 +++++++-------
 mkinitcpio.5.txt => mkinitcpio.8.txt |    0
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename mkinitcpio.5.txt => mkinitcpio.8.txt (100%)

diff --git a/Makefile b/Makefile
index 1a3a815..6ddf2cb 100644
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,10 @@ DIRS = \
 	/lib/initcpio/hooks \
 	/lib/initcpio/install \
 	/lib/initcpio/udev \
-	/usr/share/man/man5
+	/usr/share/man/man8
 
 DIST_EXTRA = \
-	mkinitcpio.5
+	mkinitcpio.8
 
 all: doc
 
@@ -43,20 +43,20 @@ install: all
 	install -m644 -t ${DESTDIR}/lib/initcpio/install install/*
 	install -m644 -t ${DESTDIR}/etc/mkinitcpio.d mkinitcpio.d/*
 
-	install -m644 mkinitcpio.5 ${DESTDIR}/usr/share/man/man5/mkinitcpio.5
+	install -m644 mkinitcpio.8 ${DESTDIR}/usr/share/man/man8/mkinitcpio.8
 	install -m644 bash-completion ${DESTDIR}/etc/bash_completion.d/mkinitcpio
 
-doc: mkinitcpio.5
-mkinitcpio.5: mkinitcpio.5.txt Makefile
+doc: mkinitcpio.8
+mkinitcpio.8: mkinitcpio.8.txt Makefile
 	a2x -d manpage \
 		-f manpage \
 		-a mansource=mkinitcpio \
 		-a manversion=${VERSION} \
-		-a manmanual=mkinitcpio mkinitcpio.5.txt
+		-a manmanual=mkinitcpio mkinitcpio.8.txt
 
 clean:
 	${RM} -r build mkinitcpio-${VERSION}
-	${RM} mkinitcpio-${VERSION}.tar.gz mkinitcpio.5 mkinitcpio.5.gz
+	${RM} mkinitcpio-${VERSION}.tar.gz mkinitcpio.8 mkinitcpio.8.gz
 
 tarball: dist
 dist: clean doc
diff --git a/mkinitcpio.5.txt b/mkinitcpio.8.txt
similarity index 100%
rename from mkinitcpio.5.txt
rename to mkinitcpio.8.txt
-- 
1.7.7



More information about the arch-projects mailing list