summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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