X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=Makefile;h=ce0262b9463f1ed2ef1b4eda268847574d206733;hp=ec67501d7247c5ae8e7ab4bd3a4fef59c3379a13;hb=d98b500c721b2bd5319d84f1e38a2e54db043834;hpb=2daf9332f1a037eff1046f008650237d231a8bb1 diff --git a/Makefile b/Makefile index ec67501..ce0262b 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,9 @@ build: 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 @@ -77,6 +80,10 @@ install: 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