X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=9d03254fbfdc5b5f246e5693ad5f9d2f5aec738c;hb=c397f1f282c667b8fd6dba8827d6ae383f4f4730;hp=1126e94888a415c9b09f5c160274372c98efbbb5;hpb=a3b8a31d11dcbf195d0b8285161c1907437b6c6f;p=live-boot-grml.git diff --git a/Makefile b/Makefile index 1126e94..9d03254 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SHELL := sh -e LANGUAGES = $(shell cd manpages/po && ls) -SCRIPTS = bin/* backends/initramfs-tools/* scripts/*.sh scripts/*/* +SCRIPTS = backends/*/* bin/* scripts/*.sh scripts/*/*-* all: build @@ -46,12 +46,6 @@ install: 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 - - mkdir -p $(DESTDIR)/usr/share/live-boot - cp bin/live-preseed bin/live-reconfigure $(DESTDIR)/usr/share/live-boot - mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks cp backends/initramfs-tools/live.hook $(DESTDIR)/usr/share/initramfs-tools/hooks/live mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts @@ -61,10 +55,6 @@ install: mkdir -p $(DESTDIR)/usr/share/doc/live-boot cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot - mkdir -p $(DESTDIR)/usr/share/doc/live-boot/examples - cp -r examples/* $(DESTDIR)/usr/share/doc/live-boot/examples - # (FIXME) - # Installing manpages for MANPAGE in manpages/en/*; \ do \ @@ -83,11 +73,9 @@ install: uninstall: # Uninstalling executables - rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile + rm -f $(DESTDIR)/sbin/live-swapfile rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true - rm -rf $(DESTDIR)/usr/share/live-boot - rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/live