X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=SConstruct;h=fbfad0e9474cb4df6e9a310c5d38086b9832281f;hp=a1632970ba88fe300bf74347d511e4c1e603d5ac;hb=f548ce5889cd69ed0c9fb17e2dccf47fbeb41784;hpb=89d6de603fefa7ef5595026cbf0223312e645f83 diff --git a/SConstruct b/SConstruct index a163297..fbfad0e 100644 --- a/SConstruct +++ b/SConstruct @@ -183,7 +183,11 @@ env.Alias('doc', env.Command('doc.dummy', [], 'cd docs/doxygen; doxygen')) # # See http://www.scons.org/wiki/InstallTargets and http://www.scons.org/doc/production/HTML/scons-user/c2938.html install_include = env.Install (target_usr_local_include, Glob("include/anna/*")) -install_lib = env.Install (target_usr_local_lib, Glob("source/*/" + variant + "/*.a")) +static_lib_files = 'source/*/' + variant + '/*.a' +dynamic_lib_files = 'source/*/' + variant + '/*.so' +files_grabbed = [Glob(e) for e in [static_lib_files, dynamic_lib_files]] + +install_lib = env.Install (target_usr_local_lib, files_grabbed) install_dynlib = env.Install (target_usr_local_lib, Glob("dynamic/launcher/default/" + variant + "/*.so")) install_example = env.Install (target_opt_bin, Glob("example/*/*/" + variant + "/example_*")) postinstall_example = env.Command('./example/postinstall.out', None, './example/postinstall.sh')