--- mk/Variables.mk.orig 2017-08-30 10:48:03 UTC +++ mk/Variables.mk @@ -4,12 +4,12 @@ # directories DESTDIR = srcdir ?= . -prefix ?= /usr/local -bindir = $(DESTDIR)$(prefix)/bin -sbindir = $(DESTDIR)$(prefix)/sbin -libdir = $(DESTDIR)$(prefix)/$(LIB) -shrdir = $(DESTDIR)$(prefix)/share -mandir = $(shrdir)/man +prefix ?= $(PREFIX) +bindir = $(DESTDIR)$(PREFIX)/bin +sbindir = $(DESTDIR)$(PREFIX)/sbin +libdir = $(DESTDIR)$(PREFIX)/$(LIB) +shrdir = $(DESTDIR)$(PREFIX)/share +mandir = $(DESTDIR)$(PREFIX)/man locdir = $(shrdir)/locale appdir = $(shrdir)/applications