summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-01-08 23:27:51 +0000
committerjbj <devnull@localhost>2003-01-08 23:27:51 +0000
commit24e18d4b3f38d7f7c2c4564b4026290fe7318e70 (patch)
tree5fda3188bf8bf6e46c2720c84ed1e11808b46b83
parent0635d0ad62a786cb357ae43e602d77cbfb03f59c (diff)
downloadlibrpm-tizen-24e18d4b3f38d7f7c2c4564b4026290fe7318e70.tar.gz
librpm-tizen-24e18d4b3f38d7f7c2c4564b4026290fe7318e70.tar.bz2
librpm-tizen-24e18d4b3f38d7f7c2c4564b4026290fe7318e70.zip
Teach python subdirs lib64 too.
CVS patchset: 6003 CVS date: 2003/01/08 23:27:51
-rw-r--r--python/rpmdb/Makefile.am4
-rw-r--r--python/test/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/python/rpmdb/Makefile.am b/python/rpmdb/Makefile.am
index 832478ec5..11082eb2e 100644
--- a/python/rpmdb/Makefile.am
+++ b/python/rpmdb/Makefile.am
@@ -4,9 +4,11 @@ AUTOMAKE_OPTIONS = 1.4 foreign
PYVER= @WITH_PYTHON_VERSION@
+pylibdir = $(shell python -c 'import sys; print sys.path[1]')
+
EXTRA_DIST = \
__init__.py dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py
-rpmdbdir = $(prefix)/lib/python${PYVER}/site-packages/rpmdb
+rpmdbdir = $(pylibdir)/site-packages/rpmdb
rpmdb_SCRIPTS = \
__init__.py dbobj.py db.py dbrecio.py dbshelve.py dbtables.py dbutils.py
diff --git a/python/test/Makefile.am b/python/test/Makefile.am
index 5e7c89809..667ad87c8 100644
--- a/python/test/Makefile.am
+++ b/python/test/Makefile.am
@@ -4,6 +4,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign
PYVER= @WITH_PYTHON_VERSION@
+pylibdir = $(shell python -c 'import sys; print sys.path[1]')
+
EXTRA_DIST = \
test_all.py test_associate.py test_basics.py test_compat.py \
test_dbobj.py test_dbshelve.py test_dbtables.py test_get_none.py \