git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26276
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
install-python: build-python
./setup.py install --prefix=$(prefix)
+install-swig:
+ cp ldb.i `$(SWIG) -swiglib`
+
check-python: build-python
# FIXME: This isn't portable
LD_LIBRARY_PATH=lib PYTHONPATH=.:build/lib.linux-i686-2.4/ trial tests/python/api.py
${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
+ which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib`
doc: talloc.3 talloc.3.html
# FIXME: Should be more portable:
LD_LIBRARY_PATH=. PYTHONPATH=.:build/lib.linux-i686-2.4 trial python/tests/simple.py
+install-swig:
+ cp tdb.i `swig -swiglib`
+
clean-python:
./setup.py clean