From 4b86376013d55c0230bd1f0ac8278d08bb803715 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 1 Dec 2015 10:58:00 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5