summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Vigor <kvigor@gmail.com>2019-05-06 15:41:29 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-06 15:44:58 -0600
commit54cc960db0bb8fe1d6b2dde1d79d4a24e726ad36 (patch)
treeb23d4a05ab1dad850c63c691b4a44ca8325acd78 /Makefile
parent7b989f34191302011b5b49bf5b26b36862d54056 (diff)
liburing: improve 'make install'
'make install' did not install all the headers necessary to use the library; fix. Additionally allow specifying the install prefix, which was previously hardcoded to /usr. Signed-off-by: Kevin Vigor <kvigor@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cbc3504..37ee081 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ TAG = $(NAME)-$(VERSION)
RPMBUILD=$(shell `which rpmbuild >&/dev/null` && echo "rpmbuild" || echo "rpm")
INSTALL=install
-prefix=/usr
+prefix ?= /usr
includedir=$(prefix)/include
libdir=$(prefix)/lib
mandir=$(prefix)/man