Avoid hardcoding prefix in global.mk (#11813)
This commit is contained in:
parent
5783dd3980
commit
24ff3e276e
|
@ -23,13 +23,8 @@ endif
|
||||||
# verbose error messages everywhere
|
# verbose error messages everywhere
|
||||||
STATIC_DEBUG=0
|
STATIC_DEBUG=0
|
||||||
|
|
||||||
PREFIX=/usr/local
|
|
||||||
|
|
||||||
rmdblslash=$(subst //,/,$(subst //,/,$(subst /$$,,$1)))
|
rmdblslash=$(subst //,/,$(subst //,/,$(subst /$$,,$1)))
|
||||||
|
|
||||||
LIBDIR=${PREFIX}/lib
|
|
||||||
WWWROOT=${DATADIR}/radare2/${VERSION}/www
|
|
||||||
|
|
||||||
.c:
|
.c:
|
||||||
ifneq ($(SILENT),)
|
ifneq ($(SILENT),)
|
||||||
@echo LD $<
|
@echo LD $<
|
||||||
|
@ -45,4 +40,6 @@ endif
|
||||||
-include $(TOP)/config-user.mk
|
-include $(TOP)/config-user.mk
|
||||||
-include $(TOP)/mk/platform.mk
|
-include $(TOP)/mk/platform.mk
|
||||||
-include $(TOP)/mk/${COMPILER}.mk
|
-include $(TOP)/mk/${COMPILER}.mk
|
||||||
|
|
||||||
|
WWWROOT=${DATADIR}/radare2/${VERSION}/www
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue