summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-01-17 15:41:56 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-17 21:40:20 +0000
commit0befd8dafd116ea5f231f5b360b500be08c39297 (patch)
treeae2e5b949cd89ff74427e474f15ee133371af375
parent8745eaaf30bfc73ddf6c48932e4f620a7c4f21d0 (diff)
downloadpodman-0befd8dafd116ea5f231f5b360b500be08c39297.tar.gz
podman-0befd8dafd116ea5f231f5b360b500be08c39297.tar.bz2
podman-0befd8dafd116ea5f231f5b360b500be08c39297.zip
ETCDIR should be relative to DESTDIR
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #237 Approved by: rhatdan
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cc839479f..c241751b9 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ PREFIX ?= ${DESTDIR}/usr/local
BINDIR ?= ${PREFIX}/bin
LIBEXECDIR ?= ${PREFIX}/libexec
MANDIR ?= ${PREFIX}/share/man
-ETCDIR ?= /etc
+ETCDIR ?= ${DESTDIR}/etc
ETCDIR_LIBPOD ?= ${ETCDIR}/crio
BUILDTAGS ?= seccomp $(shell hack/btrfs_tag.sh) $(shell hack/libdm_tag.sh) $(shell hack/btrfs_installed_tag.sh) $(shell hack/ostree_tag.sh) $(shell hack/selinux_tag.sh)