]> git.donarmstrong.com Git - lilypond.git/blobdiff - elisp/SConscript
* SConstruct (symlink): Add dvips and music-drawing-routines.ps.
[lilypond.git] / elisp / SConscript
index 4587ff100f84503a25736fc48bfcb3c7f6c757b0..4bf540baf96208db8e6968783cbf186d95c1d1e8 100644 (file)
@@ -1,15 +1,16 @@
 # -*-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)
+sources = env['src_glob'] (env, '*.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)
+e.Command ('lilypond-words.el',
+          ['#/lily/my-lily-lexer.cc',
+           '#/buildscripts/lilypond-words.py',
+           '#/scm/new-markup.scm',
+           '#/ly/engraver-init.ly',],
+          a)
 
-dir = env['sharedir_package_version'] + '/elisp'
+dir = env['DESTDIR'] + env['sharedir_package_version'] + '/elisp'
 env.Install (dir, sources)