]> git.donarmstrong.com Git - lilypond.git/blobdiff - elisp/SConscript
Clean up buildscripts
[lilypond.git] / elisp / SConscript
index 4587ff100f84503a25736fc48bfcb3c7f6c757b0..380490c08b26828c19bc921719c39a9095576bc8 100644 (file)
@@ -1,15 +1,15 @@
 # -*-python-*-
 
-import os
-
-Import ('env')
-sources = env['src_glob'] (env, '*.el') + ['lilypond-words']
-#gen_files = map (lambda x: os.path.splitext (x)[0], sources)
-#gens = map (env.AT, sources)
+Import ('env', 'install', 'src_glob')
+sources = src_glob ('*.el') + ['lilypond-words.el']
 
 e = env.Copy ()
 a = '$PYTHON $srcdir/buildscripts/lilypond-words.py --el --dir=${TARGET.dir}'
-e.Command ('lilypond-words.el', '#/lily/my-lily-lexer.cc', a)
-
-dir = env['sharedir_package_version'] + '/elisp'
-env.Install (dir, sources)
+e.Command ('lilypond-words.el',
+          ['#/lily/lily-lexer.cc',
+           '#/buildscripts/lilypond-words.py',
+           '#/scm/markup.scm',
+           '#/ly/engraver-init.ly',],
+          a)
+
+install (sources, env['sharedir_package_version'] + '/elisp')