X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2FSConscript;h=361c9027a6f55100df4338cbe8f4e0b08c461dfd;hb=208441f33fca5d70dab94a12a7e708d480c84155;hp=6df0a1a43b2cfc7ee2e8ee4eea9a7957eca2fe61;hpb=4d45518a9e5e39d06ba02ecee67ce19e19528463;p=lilypond.git diff --git a/input/SConscript b/input/SConscript index 6df0a1a43b..361c9027a6 100644 --- a/input/SConscript +++ b/input/SConscript @@ -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 ()