svn commit: samba r26276 - in branches/SAMBA_4_0: . source/lib/ldb source/lib/talloc source/lib/tdb

jelmer at samba.org jelmer at samba.org
Tue Dec 4 01:37:29 GMT 2007


Author: jelmer
Date: 2007-12-04 01:37:28 +0000 (Tue, 04 Dec 2007)
New Revision: 26276

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26276

Log:
Install SWIG files if swig is present.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/lib/ldb/Makefile.in
   branches/SAMBA_4_0/source/lib/talloc/Makefile.in
   branches/SAMBA_4_0/source/lib/tdb/Makefile.in


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in	2007-12-04 00:12:13 UTC (rev 26275)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in	2007-12-04 01:37:28 UTC (rev 26276)
@@ -244,6 +244,9 @@
 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

Modified: branches/SAMBA_4_0/source/lib/talloc/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/Makefile.in	2007-12-04 00:12:13 UTC (rev 26275)
+++ branches/SAMBA_4_0/source/lib/talloc/Makefile.in	2007-12-04 01:37:28 UTC (rev 26276)
@@ -57,6 +57,7 @@
 	${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
 

Modified: branches/SAMBA_4_0/source/lib/tdb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/Makefile.in	2007-12-04 00:12:13 UTC (rev 26275)
+++ branches/SAMBA_4_0/source/lib/tdb/Makefile.in	2007-12-04 01:37:28 UTC (rev 26276)
@@ -125,5 +125,8 @@
 	# 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



More information about the samba-cvs mailing list