3 INSTALLATION_OUT_DIR
=$(vimdir
)/syntax
4 INSTALLATION_OUT_FILES
=$(LILYPOND_WORDS
)
5 # $(outdir)/lilypond-words $(outdir)/lilypond-words.el
7 EXTRA_DIST_FILES
=$(wildcard *.vim
) vimrc
9 LILYPOND_WORDS
= $(outdir
)/lilypond-words
$(outdir
)/lilypond-words.vim
10 LILYPOND_WORDS_DEPENDS
=\
11 $(topdir
)/lily
/lily-lexer.
cc \
12 $(buildscript-dir
)/lilypond-words.py \
13 $(topdir
)/scm
/markup.scm \
14 $(topdir
)/ly
/engraver-init.ly
16 STEPMAKE_TEMPLATES
=install-out
18 # vimdir defined in config.make
19 include $(depth
)/make
/stepmake.make
22 -$(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/compiler
23 $(INSTALL
) -m
644 lilypond-compiler.vim
$(DESTDIR
)$(vimdir
)/compiler
/lilypond.vim
25 -$(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/ftdetect
26 $(INSTALL
) -m
644 lilypond-ftdetect.vim
$(DESTDIR
)$(vimdir
)/ftdetect
/lilypond.vim
28 -$(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/ftplugin
29 $(INSTALL
) -m
644 lilypond-ftplugin.vim
$(DESTDIR
)$(vimdir
)/ftplugin
/lilypond.vim
31 -$(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/indent
32 $(INSTALL
) -m
644 lilypond-indent.vim
$(DESTDIR
)$(vimdir
)/indent
/lilypond.vim
34 -$(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/syntax
35 $(INSTALL
) -m
644 lilypond-syntax.vim
$(DESTDIR
)$(vimdir
)/syntax
/lilypond.vim
38 rm $(DESTDIR
)$(vimdir
)/compiler
/lilypond.vim
39 -rmdir
-p
$(DESTDIR
)$(vimdir
)/compiler
41 rm $(DESTDIR
)$(vimdir
)/ftdetect
/lilypond.vim
42 -rmdir
-p
$(DESTDIR
)$(vimdir
)/ftdetect
44 rm $(DESTDIR
)$(vimdir
)/ftplugin
/lilypond.vim
45 -rmdir
-p
$(DESTDIR
)$(vimdir
)/ftplugin
47 rm $(DESTDIR
)$(vimdir
)/indent
/lilypond.vim
48 -rmdir
-p
$(DESTDIR
)$(vimdir
)/indent
50 rm $(DESTDIR
)$(vimdir
)/syntax
/lilypond.vim
51 -rmdir
-p
$(DESTDIR
)$(vimdir
)/syntax
54 cd
$(topdir
) && $(PYTHON
) buildscripts
/lilypond-words.py
--words --vim
--dir=$(builddir
)/vim
/$(outconfbase
)
56 all: $(LILYPOND_WORDS
)