summaryrefslogtreecommitdiff
path: root/contrib/python
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python')
-rw-r--r--contrib/python/podman/Makefile3
-rw-r--r--contrib/python/pypodman/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/contrib/python/podman/Makefile b/contrib/python/podman/Makefile
index 0a0804566..7096f6152 100644
--- a/contrib/python/podman/Makefile
+++ b/contrib/python/podman/Makefile
@@ -1,4 +1,5 @@
PYTHON ?= /usr/bin/python3
+DESTDIR ?= /
.PHONY: python-podman
python-podman:
@@ -14,7 +15,7 @@ integration:
.PHONY: install
install:
- $(PYTHON) setup.py install
+ $(PYTHON) setup.py install --root ${DESTDIR}
.PHONY: clobber
clobber: uninstall clean
diff --git a/contrib/python/pypodman/Makefile b/contrib/python/pypodman/Makefile
index 6bc5b968b..fb25776fa 100644
--- a/contrib/python/pypodman/Makefile
+++ b/contrib/python/pypodman/Makefile
@@ -1,4 +1,5 @@
PYTHON ?= /usr/bin/python3
+DESTDIR := /
.PHONY: python-pypodman
python-pypodman:
@@ -14,7 +15,7 @@ integration:
.PHONY: install
install:
- $(PYTHON) setup.py install
+ $(PYTHON) setup.py install --root ${DESTDIR}
.PHONY: clobber
clobber: uninstall clean