summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 12:42:33 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 16:41:40 +0000
commitff484e00535e11da17d9c63447abbb6b65e4f11b (patch)
treeb0826c518baa1d5aceccb74c3227f5624db3c2e1 /python
parent8ea322aba3041e67cf32b43101a3299f89c9b0dc (diff)
downloadlibguestfs-ff484e00535e11da17d9c63447abbb6b65e4f11b.tar.gz
libguestfs-ff484e00535e11da17d9c63447abbb6b65e4f11b.tar.xz
libguestfs-ff484e00535e11da17d9c63447abbb6b65e4f11b.zip
build: Use ./configure --with-python-installdir=DIR to select Python dir.
We don't always want to install in the site-packages directory. Allow the directory to be chosen using a configure option. Rename the variable PYTHON_INSTALLDIR to reflect its true purpose.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 519bda7c..1fde976f 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -33,7 +33,7 @@ EXTRA_DIST = \
if HAVE_PYTHON
-pythondir = $(PYTHON_SITE_PACKAGES)
+pythondir = $(PYTHON_INSTALLDIR)
python_DATA = guestfs.py