summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2010-12-16 01:22:45 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2010-12-16 01:22:45 -0800
commit04a54144fd304cfd8b4d54c72bdfa076b18d57b2 (patch)
treea27437b884ba7e8188255ba9b02f1fa71e4a7541 /Makefile
parent7e9790107563dfa88ccd89aa0d0fa33266848400 (diff)
Documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 62e0fb9..a85a807 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,19 @@
-#PREFIX=/usr/local
+PREFIX=/usr
CFLAGS=-O2 -Wall -g
all: make-bcache probe-bcache
-clean:
- rm -f make-bcache bcache-test *.o
-
install: make-bcache probe-bcache
install -m0755 make-bcache ${PREFIX}/sbin/
- install -m0755 probe-bcache ${PREFIX}/sbin/
+ install -m0755 probe-bcache /sbin/
install -m0644 61-bcache.rules /lib/udev/rules.d/
install -m0755 initramfs /usr/share/initramfs-tools/hooks/bcache
+ install -m0644 make-bcache.8 ${PREFIX}/share/man/man8
# install -m0755 bcache-test ${PREFIX}/sbin/
+clean:
+ rm -f make-bcache bcache-test *.o
bcache-test: LDFLAGS += -lm -lssl -lcrypto
make-bcache: LDFLAGS += -luuid