diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-21 12:31:43 +0100 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:56 +0100 |
| commit | e5e2b64449a476552bbad49792b13f7501ecdc0c (patch) | |
| tree | 528f291f764f78a4e06d31587c8129e350c27668 /source4/scripting/swig/README | |
| parent | d1d958caa1be1f0fe1769dc563e15e9a65851459 (diff) | |
r26079: Some cleanups in the old SWIG wrappers: - remove old torture tests for LDB (replaced by a much more extensive test) - moved tool to bin directory
(This used to be commit d6d3b0ad7a789441c82cf30a640033a052921c37)
Diffstat (limited to 'source4/scripting/swig/README')
| -rw-r--r-- | source4/scripting/swig/README | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/source4/scripting/swig/README b/source4/scripting/swig/README index 561c5ab279..38b95b28f4 100644 --- a/source4/scripting/swig/README +++ b/source4/scripting/swig/README @@ -6,26 +6,9 @@ Instructions for building: 1. Run configure with the --with-python option to enable python extensions. -2. Edit the script/build_idl.sh script to pass the --swig option to - pidl. Here's a patch: +2. Run 'make idl_full swig' to build extensions. -Index: script/build_idl.sh -=================================================================== ---- script/build_idl.sh (revision 2413) -+++ script/build_idl.sh (working copy) -@@ -4,7 +4,7 @@ - - [ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1 - --PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server" -+PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --swig" - TABLES="$PERL ./build/pidl/tables.pl --output librpc/gen_ndr/tables" - - if [ x$FULLBUILD = xFULL ]; then - -3. Run 'make idl_full swig' to build extensions. - -4. At some stage there will be a proper system for installing the +3. At some stage there will be a proper system for installing the extensions, but right now it's easier to run them in place. Set your PYTHONPATH to include the modules. From the Samba source directory, run: @@ -34,4 +17,4 @@ Index: script/build_idl.sh Now you can go nuts and use the extensions. Check the scripting/swig/torture directory for a testsuite. There will -hopefully be a bunch of usage examples somewhere.
\ No newline at end of file +hopefully be a bunch of usage examples somewhere. |
