X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2FSConscript;h=361c9027a6f55100df4338cbe8f4e0b08c461dfd;hb=57c350f45c7c18577bf81433373c5483e86ca54c;hp=f184f96a2ce6fad432fbf02d0ea34ba8d0fd847b;hpb=1493d37a97ec2e32c706d6706c476d22985a5682;p=lilypond.git diff --git a/input/SConscript b/input/SConscript index f184f96a2c..361c9027a6 100644 --- a/input/SConscript +++ b/input/SConscript @@ -1,37 +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', mfbuild) -e.Depends ('doc', LILYPOND_BIN) - -e.Alias ('doc', pdfs) -#e.Alias ('doc', 'example-1.pdf') - -#testing -all_sources = ['SConscript',] + sources + abc_sources -x = env.Tar (env['tarball'], all_sources) +Import ('env', 'mutopia') +mutopia ()