]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Install the initramfs hook in /usr/share not /etc
authorGabriel <g2p.code@gmail.com>
Sat, 21 Sep 2013 23:13:36 +0000 (01:13 +0200)
committerGabriel <g2p.code@gmail.com>
Sun, 22 Sep 2013 10:34:51 +0000 (12:34 +0200)
Makefile

index edb4133a319d0422870ce78226824c0b7c6833e0..efeac036406e5b86b01265f67840649c5f0b94b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,8 @@ install: make-bcache probe-bcache bcache-super-show
        install -m0755 probe-bcache     $(DESTDIR)/sbin/
        install -m0644 61-bcache.rules  $(DESTDIR)/lib/udev/rules.d/
        install -m0755 bcache-register  $(DESTDIR)/lib/udev/
-       -install -m0755 initramfs/hook  $(DESTDIR)/etc/initramfs-tools/hooks/bcache
-       install -m0644 -- *.8 $(DESTDIR)${PREFIX}/share/man/man8
+       -install -T -m0755 initramfs/hook       $(DESTDIR)/usr/share/initramfs-tools/hooks/bcache
+       install -m0644 -- *.8 $(DESTDIR)${PREFIX}/share/man/man8/
 #      install -m0755 bcache-test $(DESTDIR)${PREFIX}/sbin/
 
 clean: