Use DESTDIR to install xbps, if defined.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090817231148-0ustwsbs93ywo1nf
This commit is contained in:
Juan RP 2009-08-18 01:11:48 +02:00
parent 8621a2437b
commit 5c07b001bc

View File

@ -1,9 +1,9 @@
# Common variables. # Common variables.
PREFIX ?= /usr/local PREFIX ?= /usr/local
SBINDIR ?= $(PREFIX)/sbin SBINDIR ?= $(DESTDIR)$(PREFIX)/sbin
LIBDIR ?= $(PREFIX)/lib LIBDIR ?= $(DESTDIR)$(PREFIX)/lib
ETCDIR ?= $(PREFIX)/etc ETCDIR ?= $(DESTDIR)$(PREFIX)/etc
TOPDIR ?= .. TOPDIR ?= ..
INSTALL_STRIPPED ?= -s INSTALL_STRIPPED ?= -s