diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:24:39 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:35:57 +0200 |
commit | 4bd662d6947608f3a92416b599e2286718f16c61 (patch) | |
tree | 7e630d8b95397694151dc896dbf24cfc8cd78f72 /Makefile | |
parent | d66dcd7d9be6a96d86b3385b3a856effd1eb3df3 (diff) | |
download | live-boot-4bd662d6947608f3a92416b599e2286718f16c61.tar.gz live-boot-4bd662d6947608f3a92416b599e2286718f16c61.zip |
Simplyfing initramfs-tools specific files within the source tree.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,7 +4,7 @@ SHELL := sh -e LANGUAGES = $(shell cd manpages/po && ls) -SCRIPTS = bin/* initramfs-tools/hooks/* initramfs-tools/scripts/live scripts/*.sh scripts/*/* +SCRIPTS = bin/* backends/initramfs-tools/* scripts/*.sh scripts/*/* all: build @@ -52,8 +52,10 @@ install: 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 - cp -r initramfs-tools/* $(DESTDIR)/usr/share/initramfs-tools + 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 + cp backends/initramfs-tools/live.script $(DESTDIR)/usr/share/initramfs-tools/scripts/live # Installing docs mkdir -p $(DESTDIR)/usr/share/doc/live-boot @@ -87,11 +89,9 @@ uninstall: rm -rf $(DESTDIR)/usr/share/live-boot rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live - rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live* - rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top/live + rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/live rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/hooks > /dev/null 2>&1 || true - rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools/scripts > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/initramfs-tools > /dev/null 2>&1 || true rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true |