]> git.donarmstrong.com Git - lilypond.git/blob - vim/GNUmakefile
* buildscripts/lilypond.words.py: remove.
[lilypond.git] / vim / GNUmakefile
1 depth = ..
2
3 INSTALLATION_OUT_DIR=$(vimdir)/syntax
4 INSTALLATION_OUT_FILES=$(LILYPOND_WORDS)
5 # $(outdir)/lilypond-words $(outdir)/lilypond-words.el
6
7 STEPMAKE_TEMPLATES=install-out
8
9 # vimdir defined in config.make
10 include $(depth)/make/stepmake.make 
11
12 local-install:
13         mkdir -p $(vimdir)/compiler
14         $(INSTALL) lilypond-compiler.vim $(vimdir)/compiler/lilypond.vim
15
16         mkdir -p $(vimdir)/ftdetect
17         $(INSTALL) lilypond-ftdetect.vim $(vimdir)/ftdetect/lilypond.vim
18
19         mkdir -p $(vimdir)/ftplugin
20         $(INSTALL) lilypond-ftplugin.vim $(vimdir)/ftplugin/lilypond.vim
21
22         mkdir -p $(vimdir)/indent
23         $(INSTALL) lilypond-indent.vim $(vimdir)/indent/lilypond.vim
24
25         mkdir -p $(vimdir)/syntax
26         $(INSTALL) lilypond-syntax.vim $(vimdir)/syntax/lilypond.vim
27
28 EXTRA_DIST_FILES=filetype.vim
29
30 LILYPOND_WORDS = $(outdir)/lilypond-words $(outdir)/lilypond-words.vim
31 LILYPOND_WORDS_DEPENDS =\
32   $(topdir)/lily/my-lily-lexer.cc \
33   $(buildscript-dir)/lilypond-words.py \
34   $(topdir)/scm/new-markup.scm \
35   $(topdir)/ly/engraver-init.ly
36
37 $(LILYPOND_WORDS): 
38         cd $(topdir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(builddir)/vim/$(outconfbase)
39
40 all: $(LILYPOND_WORDS)
41