Replacing live initramfs-tools script with empty stub that calls the real, in future...
[live-boot-grml.git] / Makefile
index 1ea0a36..e2f6cde 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ SHELL := sh -e
 
 LANGUAGES = $(shell cd manpages/po && ls)
 
-SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
+SCRIPTS = bin/* initramfs-tools/hooks/* initramfs-tools/scripts/live initramfs-tools/scripts/live-functions initramfs-tools/scripts/live-helpers initramfs-tools/scripts/*/* scripts/*
 
 all: build
 
@@ -41,6 +41,10 @@ build:
        @echo "Nothing to build."
 
 install:
+       # Installing scripts
+       mkdir -p $(DESTDIR)/lib/live
+       cp -r scripts/boot.sh $(DESTDIR)/lib/live
+
        # Installing executables
        mkdir -p $(DESTDIR)/sbin
        cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
@@ -49,7 +53,7 @@ install:
        cp bin/live-preseed bin/live-reconfigure local/languagelist $(DESTDIR)/usr/share/live-boot
 
        mkdir -p $(DESTDIR)/usr/share/initramfs-tools
-       cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools
+       cp -r initramfs-tools/* $(DESTDIR)/usr/share/initramfs-tools
 
        # Installing docs
        mkdir -p $(DESTDIR)/usr/share/doc/live-boot