summaryrefslogtreecommitdiff
path: root/contrib/python/podman
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-08-06 08:45:12 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-07 14:52:30 +0000
commit7d43e7c451d79c0e110bdb60a398ad083720c48b (patch)
treedb3f76d5580a3fdd666e0ba187c7c76db91cf5ea /contrib/python/podman
parent0f1086cf7c2f8d5dbff2e31dfa4f4f8d3864281f (diff)
downloadpodman-7d43e7c451d79c0e110bdb60a398ad083720c48b.tar.gz
podman-7d43e7c451d79c0e110bdb60a398ad083720c48b.tar.bz2
podman-7d43e7c451d79c0e110bdb60a398ad083720c48b.zip
Pass DESTDIR down to python Makefile
In order to get a cleaner build out of the rpms we should pass down the DESTDIR to the python Makefiles. Then we can use them instead of hard coding other inteligence into the spec files. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1214 Approved by: baude
Diffstat (limited to 'contrib/python/podman')
-rw-r--r--contrib/python/podman/Makefile3
1 files changed, 2 insertions, 1 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