X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2FSConscript;h=a69a637a839766cdbd4b664d7f27c3ed80bacebf;hb=992f7fc4310a5e96d8f9632a9bd78f163003f18a;hp=5b71997af0f3b214ee95ec21337083787d125287;hpb=c1fb671679be258cbd68c6ee00885a0bfbb30372;p=lilypond.git diff --git a/scripts/SConscript b/scripts/SConscript index 5b71997af0..a69a637a83 100644 --- a/scripts/SConscript +++ b/scripts/SConscript @@ -1,13 +1,10 @@ # -*-python-*- -import os +Import ('env', 'install', 'src_glob') +sources = src_glob ('*.py') +scripts = map (env.AT_COPY, sources) -Import ('env') -sources = env['src_glob'] (env, '*.py') -gen_files = map (lambda x: os.path.splitext (x)[0], sources) -gens = map (env.AT, sources) -dir = env['bindir'] -env.Install (dir, gen_files) -#env.Install (dir, sources) -#env.Install (dir, gens) -#env.Alias ('install', dir) +install (scripts, env['bindir']) + +po = env.Command ('lilypond.po', sources, env['pocommand']) +env.Alias ('po-update', po)