]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/SConscript
Clean up buildscripts
[lilypond.git] / input / SConscript
index 6df0a1a43b2cfc7ee2e8ee4eea9a7957eca2fe61..361c9027a6f55100df4338cbe8f4e0b08c461dfd 100644 (file)
@@ -1,40 +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']
-
-#e.Depends (pdfs, LILYPOND_BIN)
-# e.Depends (pdfs, 'lilypond-internals.texi')
-
-mfbuild = os.path.join (env['absbuild'], 'mf', env['out'])
-e.Depends ('doc', mfbuild)
-e.Depends ('doc', LILYPOND_BIN)
-#e.Depends (doc, 'lilypond-internals.texi')
-
-e.Alias ('doc', pdfs)
-
-#testing
-all_sources = ['SConscript',] + sources + abc_sources
-x = env.Tar (env['tarball'], all_sources)
+Import ('env', 'mutopia')
+mutopia ()