3 INSTALLATION_OUT_DIR
=$(vimdir
)/syntax
4 INSTALLATION_OUT_FILES
=$(LILYPOND_WORDS
)
5 # $(outdir)/lilypond-words $(outdir)/lilypond-words.el
7 EXTRA_DIST_FILES
=$(call src-wildcard
,*.vim
) vimrc
9 LILYPOND_WORDS
= $(outdir
)/lilypond-words
$(outdir
)/lilypond-words.vim
10 LILYPOND_WORDS_DEPENDS
=\
11 $(top-src-dir
)/lily
/lily-lexer.
cc \
12 $(buildscript-dir
)/lilypond-words.py \
13 $(top-src-dir
)/scm
/markup.scm \
14 $(top-src-dir
)/ly
/engraver-init.ly
16 STEPMAKE_TEMPLATES
=install-out
18 # vimdir defined in config.make
19 include $(depth
)/make
/stepmake.make
22 for a in compiler ftdetect ftplugin indent syntax
; do \
23 $(INSTALL
) -d
$(DESTDIR
)$(vimdir
)/$$a \
24 && $(INSTALL
) -m
644 $(src-dir
)/lilypond-
$$a.vim
$(DESTDIR
)$(vimdir
)/$$a/lilypond.vim
; \
28 for a in compiler ftdetect ftplugin indent syntax
; do \
29 rm $(DESTDIR
)$(vimdir
)/$$a/lilypond.vim
; \
30 rmdir
$(DESTDIR
)$(vimdir
)/$$a; \
32 -rmdir
-p
$(DESTDIR
)$(vimdir
)
35 cd
$(top-src-dir
) && $(PYTHON
) buildscripts
/lilypond-words.py
--words --vim
--dir=$(top-build-dir
)/vim
/$(outconfbase
)
37 all: $(LILYPOND_WORDS
)