]> git.donarmstrong.com Git - lilypond.git/blobdiff - elisp/SConscript
Clean up buildscripts
[lilypond.git] / elisp / SConscript
index 4bf540baf96208db8e6968783cbf186d95c1d1e8..380490c08b26828c19bc921719c39a9095576bc8 100644 (file)
@@ -1,16 +1,15 @@
 # -*-python-*-
 
-Import ('env')
-sources = env['src_glob'] (env, '*.el') + ['lilypond-words.el']
+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',
+          ['#/lily/lily-lexer.cc',
            '#/buildscripts/lilypond-words.py',
-           '#/scm/new-markup.scm',
+           '#/scm/markup.scm',
            '#/ly/engraver-init.ly',],
           a)
 
-dir = env['DESTDIR'] + env['sharedir_package_version'] + '/elisp'
-env.Install (dir, sources)
+install (sources, env['sharedir_package_version'] + '/elisp')