From: Mike Frysinger Date: Wed, 27 Oct 2010 18:27:31 +0000 (+0300) Subject: Fix make install errors X-Git-Tag: v1.4.2~21 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4854c615740a6e73eb4c0fbe4245ddd4a3b40a9c;p=mtd-utils.git Fix make install errors This patch heals 'make install' which tried to install the utilities to '/usr/local//usr/sbin'. Reported-by: Charles Manning Signed-off-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- diff --git a/common.mk b/common.mk index a55c548..0f3d447 100644 --- a/common.mk +++ b/common.mk @@ -20,7 +20,7 @@ ifneq ($(WITHOUT_LARGEFILE), 1) CPPFLAGS += -D_FILE_OFFSET_BITS=64 endif -DESTDIR ?= /usr/local +DESTDIR?= PREFIX=/usr EXEC_PREFIX=$(PREFIX) SBINDIR=$(EXEC_PREFIX)/sbin