summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-22 23:29:48 +0100
committerDave Reisner <dreisner@archlinux.org>2012-11-24 00:01:34 +0100
commit3c961b3bc3cbffa7537575c8ea85d016a0342f24 (patch)
treefb168bd640663cbc1a21db808ae7f27c17123879
parentf85d28014134076217904885ea339e2f4c438df1 (diff)
downloadmkinitcpio-3c961b3bc3cbffa7537575c8ea85d016a0342f24.tar.gz
mkinitcpio-3c961b3bc3cbffa7537575c8ea85d016a0342f24.tar.xz
build: move manpages to subdir
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--Makefile14
-rw-r--r--man/lsinitcpio.1.txt (renamed from lsinitcpio.1.txt)0
-rw-r--r--man/mkinitcpio.8.txt (renamed from mkinitcpio.8.txt)0
-rw-r--r--man/mkinitcpio.conf.5.txt (renamed from mkinitcpio.conf.5.txt)0
4 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 88f82db..756d42f 100644
--- a/Makefile
+++ b/Makefile
@@ -16,9 +16,9 @@ DIRS = \
all: doc
MANPAGES = \
- mkinitcpio.8 \
- mkinitcpio.conf.5 \
- lsinitcpio.1
+ man/mkinitcpio.8 \
+ man/mkinitcpio.conf.5 \
+ man/lsinitcpio.1
install: all
mkdir -p $(DESTDIR)
@@ -47,14 +47,14 @@ install: all
cp -at $(DESTDIR)/usr/lib/initcpio/install install/*
cp -at $(DESTDIR)/etc/mkinitcpio.d mkinitcpio.d/*
- install -m644 mkinitcpio.8 $(DESTDIR)/usr/share/man/man8/mkinitcpio.8
- install -m644 mkinitcpio.conf.5 $(DESTDIR)/usr/share/man/man5/mkinitcpio.conf.5
- install -m644 lsinitcpio.1 $(DESTDIR)/usr/share/man/man1/lsinitcpio.1
+ install -m644 man/mkinitcpio.8 $(DESTDIR)/usr/share/man/man8/mkinitcpio.8
+ install -m644 man/mkinitcpio.conf.5 $(DESTDIR)/usr/share/man/man5/mkinitcpio.conf.5
+ install -m644 man/lsinitcpio.1 $(DESTDIR)/usr/share/man/man1/lsinitcpio.1
install -m644 bash-completion $(DESTDIR)/usr/share/bash-completion/completions/mkinitcpio
ln -s mkinitcpio $(DESTDIR)/usr/share/bash-completion/completions/lsinitcpio
doc: $(MANPAGES)
-%: %.txt Makefile
+man/%: man/%.txt Makefile
a2x -d manpage \
-f manpage \
-a manversion=$(VERSION) \
diff --git a/lsinitcpio.1.txt b/man/lsinitcpio.1.txt
index 98bd756..98bd756 100644
--- a/lsinitcpio.1.txt
+++ b/man/lsinitcpio.1.txt
diff --git a/mkinitcpio.8.txt b/man/mkinitcpio.8.txt
index f19250f..f19250f 100644
--- a/mkinitcpio.8.txt
+++ b/man/mkinitcpio.8.txt
diff --git a/mkinitcpio.conf.5.txt b/man/mkinitcpio.conf.5.txt
index c2519c9..c2519c9 100644
--- a/mkinitcpio.conf.5.txt
+++ b/man/mkinitcpio.conf.5.txt