projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also create parents when creating union/linkfiles source directories.
[live-boot-grml.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
ec67501
..
ce0262b
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-42,6
+42,9
@@
build:
install:
# Installing executables
install:
# Installing executables
+ mkdir -p $(DESTDIR)/lib/live
+ cp bin/boot.sh $(DESTDIR)/lib/live
+
mkdir -p $(DESTDIR)/sbin
cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
mkdir -p $(DESTDIR)/sbin
cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
@@
-77,6
+80,10
@@
install:
uninstall:
# Uninstalling executables
uninstall:
# Uninstalling executables
+ rm -f $(DESTDIR)/lib/live/boot.sh
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/lib/live > /dev/null 2>&1 || true
+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/lib > /dev/null 2>&1 || true
+
rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true
rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true