summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-10-06 11:07:20 +0200
committerGabriel <g2p.code@gmail.com>2013-10-06 17:35:59 +0200
commit86ba62c6a19a7ebb1e672a668ce991fb940c415d (patch)
treef0818a4da51c64cfea1a95d33f77b5c95eb743c0 /Makefile
parent0c7a484a5b09d710814451c06ad30e894deb7ff5 (diff)
Move probe-bcache to UDEVLIBDIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b31e080e..a3179304 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
PREFIX=/usr
+UDEVLIBDIR=/lib/udev
CFLAGS+=-O2 -Wall -g
all: make-bcache probe-bcache bcache-super-show
install: make-bcache probe-bcache bcache-super-show
install -m0755 make-bcache bcache-super-show $(DESTDIR)${PREFIX}/sbin/
- install -m0755 probe-bcache $(DESTDIR)/sbin/
- install -m0644 69-bcache.rules $(DESTDIR)/lib/udev/rules.d/
- install -m0755 bcache-register $(DESTDIR)/lib/udev/
+ install -m0755 probe-bcache bcache-register $(DESTDIR)$(UDEVLIBDIR)/
+ install -m0644 69-bcache.rules $(DESTDIR)$(UDEVLIBDIR)/rules.d/
-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/