From 5c07b001bca54d29b11eccb2460a00ab2fc0febe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 18 Aug 2009 01:11:48 +0200 Subject: [PATCH] Use DESTDIR to install xbps, if defined. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090817231148-0ustwsbs93ywo1nf --- vars.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vars.mk b/vars.mk index dabebe1a..8501149a 100644 --- a/vars.mk +++ b/vars.mk @@ -1,9 +1,9 @@ # Common variables. PREFIX ?= /usr/local -SBINDIR ?= $(PREFIX)/sbin -LIBDIR ?= $(PREFIX)/lib -ETCDIR ?= $(PREFIX)/etc +SBINDIR ?= $(DESTDIR)$(PREFIX)/sbin +LIBDIR ?= $(DESTDIR)$(PREFIX)/lib +ETCDIR ?= $(DESTDIR)$(PREFIX)/etc TOPDIR ?= .. INSTALL_STRIPPED ?= -s