]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/SConscript
Clean up buildscripts
[lilypond.git] / scripts / SConscript
index 5b71997af0f3b214ee95ec21337083787d125287..a69a637a839766cdbd4b664d7f27c3ed80bacebf 100644 (file)
@@ -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)