Merge pull request #3644 from lucab/lucab/to-upstream/pull-1

Use both DESTDIR and prefix
This commit is contained in:
Brian Anderson 2012-10-03 12:15:48 -07:00
commit 60c3f713b9

View File

@ -537,8 +537,8 @@ endif
ifneq ($(findstring install,$(MAKECMDGOALS)),)
ifdef DESTDIR
CFG_INFO := $(info cfg: setting CFG_PREFIX via DESTDIR, $(DESTDIR))
CFG_PREFIX:=$(DESTDIR)
CFG_INFO := $(info cfg: setting CFG_PREFIX via DESTDIR, $(DESTDIR)/$(CFG_PREFIX))
CFG_PREFIX:=$(DESTDIR)/$(CFG_PREFIX)
export CFG_PREFIX
endif