X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=25b21ba4be239384deeabd763583dd36d4c760fa;hb=6d3f4fd5557f5efc83c42374417f4a05e99d3744;hp=1ea0a3606ae4bc4c5333388331c6b1bafb0706cc;hpb=1e821c21107dc36f071659f8b2d7c8d95048b4d1;p=live-boot-grml.git diff --git a/Makefile b/Makefile index 1ea0a36..25b21ba 100644 --- 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/*/* scripts/*.sh 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 scripts/boot $(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