X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2FSConscript;h=a615862404423d6aff44b48f0238ff80f97d67db;hb=cef13af124f3aa4ced76f71e02e990f94b49a978;hp=871ab3207b647635e17404e50b8d6c32c7984efa;hpb=96505f9df73dbec6d19ceb78dbd8d3bb141137fe;p=lilypond.git diff --git a/ly/SConscript b/ly/SConscript index 871ab3207b..a615862404 100644 --- a/ly/SConscript +++ b/ly/SConscript @@ -1,20 +1,5 @@ # -*-python-*- -import glob -import os - -Import ('env') -here = os.getcwd () -reldir = str (Dir ('.').srcnode ()) -os.chdir (reldir) -sources = glob.glob ('*.ly') -os.chdir (here) -outdir = os.path.join (env['build'], reldir, env['out']) - -lydir = os.path.join (env['sharedir_package_version'], 'ly') -env.Install (lydir, sources) -env.Alias ('install', lydir) - -#testing -all_sources = ['SConscript',] + sources -x = env.Tar (env['tarball'], all_sources) +Import ('env', 'install', 'src_glob') +sources = src_glob ('*.ly') +install (sources, env['sharedir_package_version'] + '/ly')