summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-03 13:06:55 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:00 +1100
commit9f9b363447f0f357ea610b7ac23cb3a9b53da96d (patch)
tree8c25d55b74c70983292971bdfa2c3813ebfb6b0b
parentbaf629d98f93536d92f4609e79f939d47bd3090f (diff)
downloadsamba-9f9b363447f0f357ea610b7ac23cb3a9b53da96d.tar.gz
samba-9f9b363447f0f357ea610b7ac23cb3a9b53da96d.tar.bz2
samba-9f9b363447f0f357ea610b7ac23cb3a9b53da96d.zip
s4-idl: make the source4 idl build independent of build directory
this allows the source4 idl to be built from any top level directory Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/librpc/idl/wscript_build6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/librpc/idl/wscript_build b/source4/librpc/idl/wscript_build
index 4ad30385f5..aae98a2633 100644
--- a/source4/librpc/idl/wscript_build
+++ b/source4/librpc/idl/wscript_build
@@ -1,8 +1,12 @@
#!/usr/bin/env python
+import os
+
+topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')
+
bld.SAMBA_PIDL_LIST('PIDL',
source='''irpc.idl nfs4acl.idl s4_notify.idl ntp_signd.idl
opendb.idl sasl_helpers.idl server_id.idl winbind.idl
winsif.idl winsrepl.idl winstation.idl''',
- options="--includedir=../librpc/idl --header --ndr-parser --client --python --server",
+ options="--includedir=%s --header --ndr-parser --client --python --server" % topinclude,
output_dir='../gen_ndr')