Skip to contentSkip to conversation

main - makefiles: use proper install prefix for python dbus

PATCH Zdenek Kabelac 1 participant 1 message Oct 14, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=32cb1c4cdde64ea8f2e0a9ff77ae95e9821904de
Commit:        32cb1c4cdde64ea8f2e0a9ff77ae95e9821904de
Parent:        af0ce203e9f78e307bfb9524dc8377ebbc53e8f1
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Oct 14 21:39:14 2021 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Oct 14 23:34:11 2021 +0200

makefiles: use proper install prefix for python dbus

For non-standard prefix dir use correct installation path (so the python files are not installed into user's system).

---
 make.tmpl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make.tmpl.in +1 -1
index 200ea2e05..1e6393a7b 100644
@@ -121,7 +121,7 @@ systemd_generator_dir = $(DESTDIR)$(SYSTEMD_GENERATOR_DIR)
 systemd_dir = $(DESTDIR)@systemdutildir@
 tmpfiles_dir = $(DESTDIR)@tmpfilesdir@
 ocf_scriptdir = $(DESTDIR)@OCFDIR@
-pythonprefix = $(DESTDIR)$(prefix)
+PYTHON_PREFIX = $(DESTDIR)$(prefix)
 
 # N.B. No $(DESTDIR) prefix here.
 python2dir = @PYTHON2DIR@