mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 12:18:35 +00:00
python3-lxc: Fix build prefix/destdir
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
794dd12099
commit
d4f6fa926d
@ -10,7 +10,11 @@ all:
|
||||
CFLAGS="$(CFLAGS) -I ../../src -L../../src/lxc/" $(PYTHON) setup.py build
|
||||
|
||||
install:
|
||||
python3 setup.py install --root=$(DESTDIR) --prefix=$(PREFIX) --no-compile $(DISTSETUPOPTS)
|
||||
if [ "$(DESTDIR)" = "" ]; then \
|
||||
$(PYTHON) setup.py install --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
|
||||
else \
|
||||
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) --no-compile $(DISTSETUPOPTS); \
|
||||
fi
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
Loading…
Reference in New Issue
Block a user