summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-24 13:10:31 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-24 13:10:31 +0300
commita600b09a88360fa807a499ec98b5145f058d3a80 (patch)
treea07fa5981ed48ab6f488ab3cbe2ea6293bc002ce
parentf763a218799f3a50515ac2893dd6a12fd0b35a4a (diff)
downloadlibrpm-tizen-a600b09a88360fa807a499ec98b5145f058d3a80.tar.gz
librpm-tizen-a600b09a88360fa807a499ec98b5145f058d3a80.tar.bz2
librpm-tizen-a600b09a88360fa807a499ec98b5145f058d3a80.zip
Python install path fiddling to appease with distcheck
-rw-r--r--python/Makefile.am2
-rw-r--r--python/rpm/Makefile.am4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 24153b7e5..ae67ec22c 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -39,7 +39,7 @@ mylibs= \
LDADD =
-rpmdir = $(pylibdir)/site-packages/rpm
+rpmdir = $(prefix)/$(pylibdir)/site-packages/rpm
rpm_LTLIBRARIES = _rpmmodule.la
_rpmmodule_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version
diff --git a/python/rpm/Makefile.am b/python/rpm/Makefile.am
index f53e4c04b..79e0948ce 100644
--- a/python/rpm/Makefile.am
+++ b/python/rpm/Makefile.am
@@ -4,8 +4,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign
PYVER = @WITH_PYTHON_VERSION@
-pylibdir = ${prefix}/lib@MARK64@/python@WITH_PYTHON_VERSION@
-pyincdir = $(prefix)/include/python@WITH_PYTHON_VERSION@
+pylibdir = $(prefix)/@WITH_PYTHON_LIB@
+pyincdir = $(prefix)/@WITH_PYTHON_INCLUDE@
EXTRA_DIST = \
__init__.py