]> git.donarmstrong.com Git - lilypond.git/blob - elisp/SConscript
4bf540baf96208db8e6968783cbf186d95c1d1e8
[lilypond.git] / elisp / SConscript
1 # -*-python-*-
2
3 Import ('env')
4 sources = env['src_glob'] (env, '*.el') + ['lilypond-words.el']
5
6 e = env.Copy ()
7 a = '$PYTHON $srcdir/buildscripts/lilypond-words.py --el --dir=${TARGET.dir}'
8 e.Command ('lilypond-words.el',
9            ['#/lily/my-lily-lexer.cc',
10             '#/buildscripts/lilypond-words.py',
11             '#/scm/new-markup.scm',
12             '#/ly/engraver-init.ly',],
13            a)
14
15 dir = env['DESTDIR'] + env['sharedir_package_version'] + '/elisp'
16 env.Install (dir, sources)