Skip to contentSkip to conversation

master - conf: Remove exec_prefix from confdir.

PATCH Alasdair Kergon 1 participant 1 message Apr 13, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c6a6ce6cd5a80e78094aa6420e3cb53a478eef76
Commit:        c6a6ce6cd5a80e78094aa6420e3cb53a478eef76
Parent:        5ae7a016b8e5796d36cf491345b1cf8e43ec9ea5
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Thu Apr 13 16:19:33 2017 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Thu Apr 13 16:21:29 2017 +0100

conf: Remove exec_prefix from confdir.

Some distros now want to put /etc outside prefix/exec_prefix.

---
 make.tmpl.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
make.tmpl.in +1 -1
index c3e6c8c..a40eaaa 100644
@@ -82,7 +82,7 @@ udev_prefix = @udev_prefix@
 sysconfdir = @sysconfdir@
 rootdir = $(DESTDIR)/
 bindir = $(DESTDIR)@bindir@
-confdir = $(DESTDIR)$(exec_prefix)@CONFDIR@/lvm
+confdir = $(DESTDIR)@CONFDIR@/lvm
 profiledir = $(confdir)/@DEFAULT_PROFILE_SUBDIR@
 includedir = $(DESTDIR)@includedir@
 libdir = $(DESTDIR)@libdir@