From: Jiri Slaby Date: Tue, 1 Dec 2015 09:58:00 +0000 (+0100) Subject: Makefile: support DESTDIR X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/4b86376013d55c0230bd1f0ac8278d08bb803715?hp=-c Makefile: support DESTDIR DESTDIR is set by distributors when packaging. So to be able to use make install there, put DESTDIR in from of PREFIX. --- 4b86376013d55c0230bd1f0ac8278d08bb803715 diff --git a/Makefile b/Makefile index d929849..4b2ed8d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VIMDIR=/usr/share/vim +VIMDIR=$(DESTDIR)/usr/share/vim ADDONS=${VIMDIR}/addons REGISTRY=${VIMDIR}/registry