]> git.donarmstrong.com Git - lilypond.git/blob - ly/SConscript
* lily/main.cc (dir_info): Print variables in sh format.
[lilypond.git] / ly / SConscript
1 # -*-python-*-
2
3 import glob
4 import os
5
6 here = os.getcwd ()
7 reldir = str (Dir ('.').srcnode ())
8 os.chdir (reldir)
9 sources = glob.glob ('*.ly')
10 os.chdir (here)
11
12 Import ('env')
13 e = env.Copy ()
14 outdir = os.path.join (env['build'], reldir, env['out'])
15 lydir = os.path.join (env['sharedir_package_version'], 'ly')
16 env.Install (lydir, sources)
17 env.Alias ('install', lydir)
18
19 #testing
20 all_sources = ['SConscript',] + sources
21 x = env.Tar (env['tarball'], all_sources)