summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Luttringer <seblu@seblu.net>2013-02-05 01:44:29 +0100
committerDave Reisner <dreisner@archlinux.org>2013-02-05 02:21:54 +0100
commit0b052ba0bd6959f9d2b59bcd3b30ff2756ddc3cb (patch)
tree1810dc3d0f75f8f7fb14c7398d736d46eeb05ebc
parent85ae2bcd44de36b282ebe216ed64127d243e72c5 (diff)
downloadmkinitcpio-0b052ba0bd6959f9d2b59bcd3b30ff2756ddc3cb.tar.gz
mkinitcpio-0b052ba0bd6959f9d2b59bcd3b30ff2756ddc3cb.tar.xz
Move preset examples from /etc/mkinitcpio.d
to $(DESTDIR)/usr/share/mkinitcpio to avoid use in mkinicpio -P. Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f1114d4..5322ff1 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ DIRS = \
/usr/lib/initcpio/udev \
/usr/share/man/man8 \
/usr/share/man/man5 \
- /usr/share/man/man1
+ /usr/share/man/man1 \
+ /usr/share/mkinitcpio
all: doc
@@ -44,7 +45,7 @@ install: all
install -m644 01-memdisk.rules $(DESTDIR)/usr/lib/initcpio/udev/01-memdisk.rules
cp -at $(DESTDIR)/usr/lib/initcpio hooks install
- cp -at $(DESTDIR)/etc mkinitcpio.d
+ install -m644 -t $(DESTDIR)/usr/share/mkinitcpio mkinitcpio.d/*
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