]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/SConscript
Clean up buildscripts
[lilypond.git] / input / SConscript
index 1e3c40092f06afcede83370f3a378271725472ce..361c9027a6f55100df4338cbe8f4e0b08c461dfd 100644 (file)
@@ -1,26 +1,4 @@
 # -*-python-*-
 
-import glob
-import os
-
-Import ('env')
-here = os.getcwd ()
-reldir = str (Dir ('.').srcnode ())
-os.chdir (reldir)
-sources = glob.glob ('*.ly')
-abc_sources = glob.glob ('*.abc')
-os.chdir (here)
-outdir = os.path.join (env['build'], reldir, env['out'])
-
-stems = map (lambda x: os.path.splitext (x)[0], sources)
-abc_stems = map (lambda x: os.path.splitext (x)[0], abc_sources)
-lys = map (env.Abc2ly, abc_stems)
-examples = map (env.LilyPond, stems + abc_stems)
-env.Alias ('doc', examples)
-
-LILYPOND_BIN = env['LILYPOND_BIN']
-
-mfbuild = os.path.join (env['absbuild'], 'mf', env['out'])
-#e.Depends ('doc', 'fonts')
-env.Depends ('doc', mfbuild)
-env.Depends ('doc', LILYPOND_BIN)
+Import ('env', 'mutopia')
+mutopia ()