3 INSTALLATION_OUT_DIR=$(vimdir)/syntax
4 INSTALLATION_OUT_FILES=$(LILYPOND_WORDS)
5 # $(outdir)/lilypond-words $(outdir)/lilypond-words.el
7 STEPMAKE_TEMPLATES=install-out
9 # vimdir defined in config.make
10 include $(depth)/make/stepmake.make
13 mkdir -p $(vimdir)/compiler
14 $(INSTALL) lilypond-compiler.vim $(vimdir)/compiler/lilypond.vim
16 mkdir -p $(vimdir)/ftdetect
17 $(INSTALL) lilypond-ftdetect.vim $(vimdir)/ftdetect/lilypond.vim
19 mkdir -p $(vimdir)/ftplugin
20 $(INSTALL) lilypond-ftplugin.vim $(vimdir)/ftplugin/lilypond.vim
22 mkdir -p $(vimdir)/indent
23 $(INSTALL) lilypond-indent.vim $(vimdir)/indent/lilypond.vim
25 mkdir -p $(vimdir)/syntax
26 $(INSTALL) lilypond-syntax.vim $(vimdir)/syntax/lilypond.vim
29 rm $(vimdir)/compiler/lilypond.vim
30 rm $(vimdir)/ftdetect/lilypond.vim
31 rm $(vimdir)/ftplugin/lilypond.vim
32 rm $(vimdir)/indent/lilypond.vim
33 rm $(vimdir)/syntax/lilypond.vim
35 EXTRA_DIST_FILES=filetype.vim
37 LILYPOND_WORDS = $(outdir)/lilypond-words $(outdir)/lilypond-words.vim
38 LILYPOND_WORDS_DEPENDS =\
39 $(topdir)/lily/my-lily-lexer.cc \
40 $(buildscript-dir)/lilypond-words.py \
41 $(topdir)/scm/new-markup.scm \
42 $(topdir)/ly/engraver-init.ly
45 cd $(topdir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(builddir)/vim/$(outconfbase)
47 all: $(LILYPOND_WORDS)