diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-25 16:04:24 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2014-02-26 13:10:58 +0100 |
commit | cee11cfa4544425099268cd32393169afb4bb107 (patch) | |
tree | c2162c07c5ae19d2458c77d7d9459ac8be16aa06 /pidl | |
parent | 5e07731cf689705957f706b6430a7ed67f099f79 (diff) | |
download | samba-cee11cfa4544425099268cd32393169afb4bb107.tar.gz samba-cee11cfa4544425099268cd32393169afb4bb107.tar.xz samba-cee11cfa4544425099268cd32393169afb4bb107.zip |
pidl: Install pidl files corrently.
Globbing is a really bad idea in installtion system. One of them is if
you use patch -b to create a backup, you will end up installing the
backup file too!
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/wscript_build | 31 | ||||
-rw-r--r-- | pidl/wscript | 3 |
2 files changed, 30 insertions, 4 deletions
diff --git a/pidl/lib/wscript_build b/pidl/lib/wscript_build index eb5f1e0c37..9bddf3f39c 100644 --- a/pidl/lib/wscript_build +++ b/pidl/lib/wscript_build @@ -1,4 +1,33 @@ #!/usr/bin/env python # install the pidl modules -bld.INSTALL_WILDCARD('${DATAROOTDIR}/perl5', '**/*.pm', flat=False) +bld.INSTALL_FILES('${DATAROOTDIR}/perl5', + ''' + Parse/Pidl.pm + Parse/Pidl/Samba4.pm + Parse/Pidl/CUtil.pm + Parse/Pidl/Expr.pm + Parse/Pidl/Wireshark/Conformance.pm + Parse/Pidl/Wireshark/NDR.pm + Parse/Pidl/ODL.pm + Parse/Pidl/Dump.pm + Parse/Pidl/Util.pm + Parse/Pidl/Samba4/Header.pm + Parse/Pidl/Samba4/COM/Header.pm + Parse/Pidl/Samba4/COM/Proxy.pm + Parse/Pidl/Samba4/COM/Stub.pm + Parse/Pidl/Samba4/TDR.pm + Parse/Pidl/Samba4/NDR/Server.pm + Parse/Pidl/Samba4/NDR/Client.pm + Parse/Pidl/Samba4/NDR/Parser.pm + Parse/Pidl/Samba4/Python.pm + Parse/Pidl/Samba4/Template.pm + Parse/Pidl/IDL.pm + Parse/Pidl/Typelist.pm + Parse/Pidl/Samba3/ClientNDR.pm + Parse/Pidl/Samba3/ServerNDR.pm + Parse/Pidl/Compat.pm + Parse/Pidl/NDR.pm + Parse/Yapp/Driver.pm + ''', + flat=False) diff --git a/pidl/wscript b/pidl/wscript index 7a25734663..05d9982adf 100644 --- a/pidl/wscript +++ b/pidl/wscript @@ -26,9 +26,6 @@ def build(bld): if not bld.CONFIG_SET('HAVE_PERL_MAKEMAKER'): return - pidl_src = ['pidl'] - pidl_src.extend(bld.path.ant_glob('lib/**/*.pm').split()) - pidl_manpages = { 'pidl': 'man1/pidl.${PERLMAN1EXT}', 'lib/Parse/Pidl/NDR.pm': 'man3/Parse::Pidl::NDR.${PERLMAN3EXT}', |