diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-08-06 08:45:12 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-07 14:52:30 +0000 |
commit | 7d43e7c451d79c0e110bdb60a398ad083720c48b (patch) | |
tree | db3f76d5580a3fdd666e0ba187c7c76db91cf5ea /Makefile | |
parent | 0f1086cf7c2f8d5dbff2e31dfa4f4f8d3864281f (diff) | |
download | podman-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 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ GO ?= go +DESTDIR ?= / EPOCH_TEST_COMMIT ?= 7462ebe830b256e9e145d133c824de5dfd23045d HEAD ?= HEAD CHANGELOG_BASE ?= HEAD~ @@ -240,8 +241,8 @@ install.systemd: install ${SELINUXOPT} -m 644 -D contrib/varlink/podman.conf ${TMPFILESDIR}/podman.conf install.python: - $(MAKE) -C contrib/python/podman install - $(MAKE) -C contrib/python/pypodman install + $(MAKE) DESTDIR=${DESTDIR} -C contrib/python/podman install + $(MAKE) DESTDIR=${DESTDIR} -C contrib/python/pypodman install uninstall: for i in $(filter %.1,$(MANPAGES)); do \ |