Skip to content

Commit

Permalink
make: Makefile variable 'PREFIX' should be configurable.
Browse files Browse the repository at this point in the history
I tried to build and install the criu package from source. All went
well, unless for the install part.

In particular,
PREFIX=/
DESTDIR=~/build_criu

PREFIX=${PREFIX} DESTDIR=${DESTDIR} make install

resulted in installing criu packages in ~/build_criu/usr/local/,
ignoring PREFIX, even if this variable should be configurable as of
manual and GCS.

Reviewed-by: Dmitry Safonov <[email protected]>
Signed-off-by: Francesco Giancane <[email protected]>
Signed-off-by: Andrei Vagin <[email protected]>
  • Loading branch information
fgiancane8 authored and xemul committed Aug 15, 2017
1 parent 5d63923 commit 5f09c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.install
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Installation paths.
PREFIX := /usr/local
PREFIX ?= /usr/local
BINDIR := $(PREFIX)/bin
SBINDIR := $(PREFIX)/sbin
MANDIR := $(PREFIX)/share/man
Expand Down

0 comments on commit 5f09c25

Please sign in to comment.