Merge pull request #3644 from lucab/lucab/to-upstream/pull-1
Use both DESTDIR and prefix
This commit is contained in:
commit
60c3f713b9
|
@ -537,8 +537,8 @@ endif
|
||||||
|
|
||||||
ifneq ($(findstring install,$(MAKECMDGOALS)),)
|
ifneq ($(findstring install,$(MAKECMDGOALS)),)
|
||||||
ifdef DESTDIR
|
ifdef DESTDIR
|
||||||
CFG_INFO := $(info cfg: setting CFG_PREFIX via DESTDIR, $(DESTDIR))
|
CFG_INFO := $(info cfg: setting CFG_PREFIX via DESTDIR, $(DESTDIR)/$(CFG_PREFIX))
|
||||||
CFG_PREFIX:=$(DESTDIR)
|
CFG_PREFIX:=$(DESTDIR)/$(CFG_PREFIX)
|
||||||
export CFG_PREFIX
|
export CFG_PREFIX
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue