vars.mk: change default PREFIX to /usr/local and conditionalize
SHAREDIR based on its value. --HG-- extra : convert_revision : xtraeme%40gmail.com-20090821104759-q010qay9i2dtoo3y
This commit is contained in:
parent
8d4cc875ea
commit
f6ac35e110
9
vars.mk
9
vars.mk
@ -1,9 +1,14 @@
|
||||
# Common variables.
|
||||
|
||||
PREFIX ?=
|
||||
PREFIX ?= /usr/local
|
||||
SBINDIR ?= $(DESTDIR)$(PREFIX)/sbin
|
||||
LIBDIR ?= $(DESTDIR)$(PREFIX)/lib
|
||||
SHAREDIR ?= $(PREFIX)/usr/share/xbps/shutils
|
||||
ifeq ($(PREFIX),/)
|
||||
else ifeq ($(PREFIX),)
|
||||
SHAREDIR ?= /usr/share/xbps/shutils
|
||||
else
|
||||
SHAREDIR ?= $(PREFIX)/share/xbps/shutils
|
||||
endif
|
||||
ETCDIR ?= $(PREFIX)/etc
|
||||
TOPDIR ?= ..
|
||||
INSTALL_STRIPPED ?= -s
|
||||
|
Loading…
Reference in New Issue
Block a user