From 9f9b363447f0f357ea610b7ac23cb3a9b53da96d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 3 Feb 2011 13:06:55 +1100 Subject: 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 --- source4/librpc/idl/wscript_build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4') 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') -- cgit