X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2FSConscript;h=a69a637a839766cdbd4b664d7f27c3ed80bacebf;hb=077313aae267c4039adb6072c25ee9feb2534718;hp=d69b615b8ae804d041360adca05ff54daa0d6738;hpb=ffc1f4186e3727d63271da11aa250b3523c35923;p=lilypond.git diff --git a/scripts/SConscript b/scripts/SConscript index d69b615b8a..a69a637a83 100644 --- a/scripts/SConscript +++ b/scripts/SConscript @@ -1,10 +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_COPY, sources) -dir = env['bindir'] -env.Install (dir, gen_files) +install (scripts, env['bindir']) + +po = env.Command ('lilypond.po', sources, env['pocommand']) +env.Alias ('po-update', po)