From b8911a8be3eb2645da64dbbbb1b214b4638cfc1d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 4 Dec 2007 18:35:56 +0100 Subject: r26293: Make sure SWIG directory exists, respect DESTDIR. (This used to be commit 24e2623a921c904615f9943bc8833a0a4ef3dc05) --- source4/lib/tdb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in index e973dc21ad..6744074f80 100644 --- a/source4/lib/tdb/Makefile.in +++ b/source4/lib/tdb/Makefile.in @@ -126,7 +126,8 @@ check-python: build-python 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 -- cgit