]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/SConscript
* SConstruct: Further development.
[lilypond.git] / scripts / SConscript
index 859c7b7cc191bf2b87e134a1945fcd8c0d3c010f..65e1719d1431c464eeeda1e5fe51393a08788df4 100644 (file)
@@ -1,13 +1,11 @@
 # -*-python-*-
 
-import os
-
 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)
+env.Install (dir, gens)
+env.Alias ('install', env['bindir'])
 
-#pot = env.POT (sources)
-#env.Alias ('pot', pot)
+po = env.Command ('lilypond.po', sources, env['pocommand'])
+env.Alias ('po-update', po)