summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-28 16:00:54 +0100
committerKarolin Seeger <kseeger@samba.org>2014-04-01 09:08:07 +0200
commiteec2818e0f92c84cebdc5bd3cd50ad9aea677b7d (patch)
tree555133bdb63f154170e7778b2d754207fb000aef
parentf21b897357e94675b5228618421ce7d3aafb659b (diff)
downloadsamba-eec2818e0f92c84cebdc5bd3cd50ad9aea677b7d.tar.gz
pidl-waf: Only install Yapp::Driver if it is not available.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Mar 6 23:30:47 CET 2014 on sn-devel-104 The last 9 patches address bug #10472 - pidl: waf should have an option for the dir to install perl files and do not glob.
-rw-r--r--pidl/lib/wscript_build6
1 files changed, 5 insertions, 1 deletions
diff --git a/pidl/lib/wscript_build b/pidl/lib/wscript_build
index 2d6e634f05e..5023e070149 100644
--- a/pidl/lib/wscript_build
+++ b/pidl/lib/wscript_build
@@ -28,6 +28,10 @@ bld.INSTALL_FILES(bld.env.PERL_VENDORLIB_DIR,
Parse/Pidl/Samba3/ServerNDR.pm
Parse/Pidl/Compat.pm
Parse/Pidl/NDR.pm
- Parse/Yapp/Driver.pm
''',
flat=False)
+
+if not bld.CONFIG_SET('USING_SYSTEM_PARSE_YAPP_DRIVER'):
+ bld.INSTALL_FILES(bld.env.PERL_VENDORLIB_DIR,
+ 'Parse/Yapp/Driver.pm',
+ flat=False)