diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2019-05-25 09:58:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-25 06:36:33 -0600 |
commit | fd26c1a2f0eb9ea53b41e471b1ea31cf341ac151 (patch) | |
tree | 2b28c647c1bfb6053be5a24c85218d13b6e6d6d7 /Makefile | |
parent | 1b049c1265977ba13f20797848859a46ade1b75b (diff) |
configure: move directory options to ./configure
libdir is hardcoded to ${prefix}/lib in Makefile. Fedora x86_64 uses
/usr/lib64 and this means libaries will be installed in the wrong place.
This patch moves prefix, includedir, libdir, and mandir into ./configure
for easier customization. To build and install on Fedora x86_64:
# ./configure --libdir=/usr/lib64
# make && make install
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -5,10 +5,6 @@ TAG = $(NAME)-$(VERSION) RPMBUILD=$(shell `which rpmbuild >&/dev/null` && echo "rpmbuild" || echo "rpm") INSTALL=install -prefix ?= /usr -includedir=$(prefix)/include -libdir=$(prefix)/lib -mandir=$(prefix)/man default: all |