DESTDIR always transformed to absolute R_DESTDIR

This commit is contained in:
Maxim Devaev
2024-03-22 12:58:53 +02:00
parent ac88996a8c
commit 0ab8e0d05e
4 changed files with 16 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
-include ../config.mk
DESTDIR ?=
R_DESTDIR ?=
PREFIX ?= /usr/local
PY ?= python3
@@ -13,7 +13,7 @@ all:
install:
$(PY) setup.py install --prefix=$(PREFIX) --root=$(if $(DESTDIR),$(DESTDIR),/)
$(PY) setup.py install --prefix=$(PREFIX) --root=$(if $(R_DESTDIR),$(R_DESTDIR),/)
clean: