summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f06c3a4..4d41ad8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ VERSION = 0.6.15
all: doc
install: all
+ install -d ${DESTDIR}/bin
install -d ${DESTDIR}/sbin
install -d ${DESTDIR}/lib/initcpio
install -d ${DESTDIR}/etc
@@ -18,6 +19,9 @@ install: all
chmod 755 ${DESTDIR}/sbin/mkinitcpio
+ sed "s|%VERSION%|${VERSION}|g" < lsinitcpio > ${DESTDIR}/bin/lsinitcpio
+ chmod 755 ${DESTDIR}/bin/lsinitcpio
+
install -D -m644 mkinitcpio.conf ${DESTDIR}/etc/mkinitcpio.conf
install -D -m755 init ${DESTDIR}/lib/initcpio/init
install -D -m755 init_functions ${DESTDIR}/lib/initcpio/init_functions
@@ -57,6 +61,7 @@ TARBALL_FILES = \
init_functions \
install \
01-memdisk.rules \
+ lsinitcpio \
mkinitcpio \
mkinitcpio.conf \
mkinitcpio.d \