summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-09-22 01:13:36 +0200
committerGabriel <g2p.code@gmail.com>2013-09-22 12:34:51 +0200
commit8b3e39e0525df37dfbc840e49f2f5a4069b34a1f (patch)
tree132b39ce285d7b8ac1cecaded90fc40d93d206ff
parent0d54a238b11b1b3b7c482dc20bf302f97bb81cd7 (diff)
Install the initramfs hook in /usr/share not /etcv1.0.1
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index edb4133..efeac03 100644
--- 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: