diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-28 15:53:10 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-03-06 09:59:45 +0100 |
commit | 17244ef750f699b30ff7ff3a71264f4c76adad6d (patch) | |
tree | 89741fb776b7e0c1963c4cdd8314c5ca9be344e8 /pidl | |
parent | 0bb6b0102f6fa21e6c9f8010421386a660c5a5e0 (diff) | |
download | samba-17244ef750f699b30ff7ff3a71264f4c76adad6d.tar.gz samba-17244ef750f699b30ff7ff3a71264f4c76adad6d.tar.xz samba-17244ef750f699b30ff7ff3a71264f4c76adad6d.zip |
pidl-waf: Install pidl modules to the perl vendorlib directory.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/wscript_build | 2 | ||||
-rw-r--r-- | pidl/wscript | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pidl/lib/wscript_build b/pidl/lib/wscript_build index eb5f1e0c379..67223a8fc29 100644 --- a/pidl/lib/wscript_build +++ b/pidl/lib/wscript_build @@ -1,4 +1,4 @@ #!/usr/bin/env python # install the pidl modules -bld.INSTALL_WILDCARD('${DATAROOTDIR}/perl5', '**/*.pm', flat=False) +bld.INSTALL_WILDCARD(bld.env.PERL_VENDORLIB_DIR, '**/*.pm', flat=False) diff --git a/pidl/wscript b/pidl/wscript index 05d9982adfe..77abb019de9 100644 --- a/pidl/wscript +++ b/pidl/wscript @@ -8,6 +8,8 @@ def set_options(opt): def configure(conf): conf.check_tool('perl') + conf.check_perl_ext_devel() + # we need a recent version of MakeMaker to get the right man page names if conf.CHECK_PERL_MANPAGE(): conf.env.PERLMAN1EXT = conf.CHECK_PERL_MANPAGE(section='1') |