]> sourceware.org Git - lvm2.git/commitdiff
python: Introduce pyexecdir
authorAlasdair G Kergon <agk@redhat.com>
Wed, 24 Jul 2013 21:07:10 +0000 (22:07 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 24 Jul 2013 21:07:10 +0000 (22:07 +0100)
Use pyexecdir for $DESTDIR + $prefix

make.tmpl.in
python/Makefile.in

index ae62182cb982548fd6e9c7cda96098915047e0db..e2c44417bb4b575094574b74f93e085624f2c69d 100644 (file)
@@ -73,6 +73,7 @@ systemd_unit_dir = $(DESTDIR)@systemdsystemunitdir@
 systemd_generator_dir = $(DESTDIR)@systemdutildir@/system-generators
 tmpfiles_dir = $(DESTDIR)@tmpfilesdir@
 ocf_scriptdir = $(DESTDIR)@OCFDIR@
+pyexecdir = $(DESTDIR)$(prefix)
 
 USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \
   $(AWK) -f $(top_srcdir)/scripts/relpath.awk)
index c9572d8fd0ad593f91705dacebe5324211573c6b..1aaec7e427daf052e9eee91eeef003c8ae324c86 100644 (file)
@@ -27,7 +27,7 @@ liblvm_python.c:
 include $(top_builddir)/make.tmpl
 
 install_python_bindings: python_bindings
-       $(PYTHON) setup.py install --skip-build --prefix $(prefix)
+       $(PYTHON) setup.py install --skip-build --prefix $(pyexecdir)
 
 install_lvm2: install_python_bindings
 
This page took 0.043658 seconds and 5 git commands to generate.