X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=e3f394642da7fd21f0a32aa0ed1932941bc13d8e;hb=d3a526bad316c0c84828ebbea4733f2dfd2bb70f;hp=16ad56087f2d24cbcf200d444a5718a4ac6f7ca7;hpb=9bb62c8a50e9e92b0e0d637c624d364be6a911ca;p=live-boot-grml.git diff --git a/Makefile b/Makefile index 16ad560..e3f3946 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SHELL := sh -e LANGUAGES = $(shell cd manpages/po && ls) -SCRIPTS = backend/*/* bin/* scripts/*.sh scripts/*/*-* +SCRIPTS = backend/*/* frontend/* components/* all: build @@ -41,9 +41,9 @@ build: @echo "Nothing to build." install: - # Installing scripts - mkdir -p $(DESTDIR)/lib/live - cp -r scripts/boot.sh scripts/boot $(DESTDIR)/lib/live + # Installing components + mkdir -p $(DESTDIR)/lib/live/boot + cp components/* $(DESTDIR)/lib/live/boot # Installing executables mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks @@ -51,6 +51,9 @@ install: mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts cp backend/initramfs-tools/live.script $(DESTDIR)/usr/share/initramfs-tools/scripts/live + mkdir -p $(DESTDIR)/bin + cp frontend/* $(DESTDIR)/bin + # Installing docs mkdir -p $(DESTDIR)/usr/share/doc/live-boot cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot @@ -73,8 +76,9 @@ install: uninstall: # Uninstalling executables - rm -f $(DESTDIR)/sbin/live-swapfile - rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true + rm -f $(DESTDIR)/bin/live-boot + rm -f $(DESTDIR)/bin/live-swapfile + rmdir --ignore-fail-on-non-empty $(DESTDIR)/bin > /dev/null 2>&1 || true rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/live