summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:29:10 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 21:33:51 +0200
commit0aa07bd386f516176364e710e8b9132036c72986 (patch)
tree27e39d4b1a7deedad4adb8b6e62cc01e44c58bc5 /Makefile
parent9bb62c8a50e9e92b0e0d637c624d364be6a911ca (diff)
downloadlive-boot-0aa07bd386f516176364e710e8b9132036c72986.tar.gz
live-boot-0aa07bd386f516176364e710e8b9132036c72986.zip
Reorganizing frontend in source tree.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 16ad560..28709cc 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/* scripts/*/*-*
all: build
@@ -43,7 +43,7 @@ build:
install:
# Installing scripts
mkdir -p $(DESTDIR)/lib/live
- cp -r scripts/boot.sh scripts/boot $(DESTDIR)/lib/live
+ cp scripts/boot/* $(DESTDIR)/lib/live
# 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