summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ff9704b..f7b9363 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,9 @@ utmps:
mkdir -p $(DESTDIR)/var/log/utmps
mv $(DESTDIR)/var/log/wtmp /var/log/utmps/
-install-mkinitramfs: mkinitrd/mkinitramfs.sh mkinitrd/initramfs-init.sh
+install-mkinitramfs: mkinitrd/mkinitramfs.sh mkinitrd/init.in
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/mkinitramfs
install -m755 mkinitrd/mkinitramfs.sh ${DESTDIR}${PREFIX}/bin/mkinitramfs
- install -m755 mkinitrd/initramfs-init.sh ${DESTDIR}${PREFIX}/bin/initramfs-init
+ install -m644 mkinitrd/init.in ${DESTDIR}${PREFIX}/share/mkinitramfs/