]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/SConscript
2d43c4fd238dec0dab19cbf33cce824f97c75bed
[lilypond.git] / Documentation / 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 = ['index.html.in', 'texinfo.css']
10 os.chdir (here)
11
12 Import ('env')
13
14 #SConscript (os.path.join (b, 'SConscript'))
15
16 # build = env['build']
17 # out = env['out']
18
19 # subdirs = ['user',]
20 # for d in subdirs:
21 #       b = os.path.join (build, d, out)
22 #       # Support clean sourctree build (srcdir build)
23 #       # and outdir build.
24 #       # TODO: figure out SConscript (dir, builddir, duplicate)) feature
25 #       if (build and build != '.') \
26 #          or (out and out != '.'):
27 #               env.BuildDir (b, d, duplicate=0)
28 #       SConscript (os.path.join (b, 'SConscript'))
29 #SConscript (os.path.join ('user', 'SConscript'))
30
31 #testing
32 all_sources = ['SConscript',] + sources
33 x = env.Tar (env['tarball'], all_sources)