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.
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