]> git.donarmstrong.com Git - lilypond.git/blob - vim/SConscript
eb04b01a89bb95456aeef8804bd3a10d7621544a
[lilypond.git] / vim / SConscript
1 # -*-python-*-
2
3 Import ('env')
4 sources = env['src_glob'] (env, '*.vim') + ['lilypond-words.vim']
5
6 e = env.Copy ()
7 a = '$PYTHON $srcdir/buildscripts/lilypond-words.py --words --vim --dir=${TARGET.dir}'
8 e.Command ('lilypond-words.vim',
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'] + '/vim'
16 env.Install (dir, sources)