summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-12 01:58:42 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-12 01:58:42 +0100
commit95225866951c834bdde91fb0f0fa1f2ee367fe0a (patch)
tree73aaff2d62f198dc07d100273292cc88814b73dc /source4/lib/tdb
parentbbc567c8311c6ad14d56c55643a3ebe281577d82 (diff)
downloadsamba-95225866951c834bdde91fb0f0fa1f2ee367fe0a.tar.gz
samba-95225866951c834bdde91fb0f0fa1f2ee367fe0a.tar.bz2
samba-95225866951c834bdde91fb0f0fa1f2ee367fe0a.zip
Create the required directories when installing Python code.
(This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/tdb.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/tdb.mk b/source4/lib/tdb/tdb.mk
index 976589fd0f..22e7e295fb 100644
--- a/source4/lib/tdb/tdb.mk
+++ b/source4/lib/tdb/tdb.mk
@@ -45,6 +45,8 @@ install:: installdirs installbin installheaders installlibs \
$(PYTHON_INSTALL_TARGET)
install-python:: build-python
+ mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0)"` \
+ $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1)"`
cp $(tdbdir)/tdb.py $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0)"`
cp _tdb.$(SHLIBEXT) $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1)"`