From a65a26958d0f1bf39cb3ff88a207f0fcde3dfdbd Mon Sep 17 00:00:00 2001 From: Wojciech Siewierski Date: Sat, 29 Dec 2018 16:41:36 +0100 Subject: Support the PREFIX flag in "make install" Before that it was necessary to use setup.py directly. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 79b4f9d4..975f9781 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,8 @@ help: install: $(PYTHON) setup.py install $(SETUPOPTS) \ - '--root=$(DESTDIR)' --optimize=$(PYOPTIMIZE) + '--prefix=$(PREFIX)' '--root=$(DESTDIR)' \ + --optimize=$(PYOPTIMIZE) compile: clean PYTHONOPTIMIZE=$(PYOPTIMIZE) $(PYTHON) -m compileall -q ranger -- cgit 1.4.1-2-gfad0