summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-09 20:34:17 +0200
committerDave Reisner <d@falconindy.com>2011-06-16 20:27:02 +0200
commit5aa93f8ed37b0ded7a6dc393795441cec1e42d2b (patch)
treec0b65c1856691869f13673202672cb09f9b8f965 /Makefile
parent031c99d6d1fd44bf6cc28395867b8adf432b9115 (diff)
downloadmkinitcpio-5aa93f8ed37b0ded7a6dc393795441cec1e42d2b.tar.gz
mkinitcpio-5aa93f8ed37b0ded7a6dc393795441cec1e42d2b.tar.xz
lsinitcpio: new utility to dump contents of images
Signed-off-by: Dave Reisner <d@falconindy.com>
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 \