summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-09 17:06:40 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-18 15:09:46 +1100
commit41b1f9794335ed2308d366a323bc44d1d7b23329 (patch)
treef3e0cb1ef52596d29edc3e595b1f14929e5be8df /source3/librpc
parentaec015525b09fce9ce7be274d1a4591f81fac0ef (diff)
downloadsamba-41b1f9794335ed2308d366a323bc44d1d7b23329.tar.gz
samba-41b1f9794335ed2308d366a323bc44d1d7b23329.tar.bz2
samba-41b1f9794335ed2308d366a323bc44d1d7b23329.zip
s3-build: allow waf build of s3 IDL files from any top directory
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/wscript_build9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/librpc/idl/wscript_build b/source3/librpc/idl/wscript_build
index e24475b543..5a8dc31980 100644
--- a/source3/librpc/idl/wscript_build
+++ b/source3/librpc/idl/wscript_build
@@ -1,13 +1,16 @@
#!/usr/bin/env python
+import os
+
+topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')
+
bld.SAMBA_PIDL_LIST('PIDL',
'''messaging.idl libnetapi.idl notify.idl
perfcount.idl secrets.idl libnet_join.idl server_id.idl''',
- options='--includedir=../librpc/idl --header --ndr-parser',
+ options='--includedir=%s --header --ndr-parser' % topinclude,
output_dir='../gen_ndr')
bld.SAMBA_PIDL_LIST('PIDL',
'wbint.idl',
- options='--includedir=../librpc/idl --header --ndr-parser --samba3-ndr-server --client',
+ options='--includedir=%s --header --ndr-parser --samba3-ndr-server --client' % topinclude,
output_dir='../gen_ndr')
-