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