Author: jelmer
Date: 2007-12-04 18:35:56 +0000 (Tue, 04 Dec 2007)
New Revision: 26293

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

Log:
Make sure SWIG directory exists, respect DESTDIR.
Modified:
   branches/SAMBA_4_0/source/lib/tdb/Makefile.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2007-12-04 18:24:16 UTC 
(rev 26292)
+++ branches/SAMBA_4_0/source/lib/tdb/Makefile.in       2007-12-04 18:35:56 UTC 
(rev 26293)
@@ -126,7 +126,8 @@
        LD_LIBRARY_PATH=. PYTHONPATH=.:build/lib.linux-i686-2.4 trial 
python/tests/simple.py
 
 install-swig:
-       cp tdb.i `swig -swiglib`
+       mkdir -p $(DESTDIR)`$(SWIG) -swiglib`
+       cp tdb.i $(DESTDIR)`$(SWIG) -swiglib`
 
 clean-python:
        ./setup.py clean

Reply via email to