diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-28 15:53:10 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-04-01 09:08:07 +0200 |
commit | 667a59c35448dd69d1c5e5c9feedc243490cf44d (patch) | |
tree | 87b7a75fa72eff4e0ff1d941084d9573274d64d4 | |
parent | 10573dd7cbd54dc85efd6ae54c18290b542559d2 (diff) | |
download | samba-667a59c35448dd69d1c5e5c9feedc243490cf44d.tar.gz |
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>
-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') |