Nitpick: ly:spanner-bound grob name slur -> spanner.
[lilypond.git] / vim / GNUmakefile
blobad032e42fe75d5542147a7dd6e756e9557ace988
1 depth = ..
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 \
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
21 local-install:
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 ; \
25 done
27 local-uninstall:
28 for a in compiler ftdetect ftplugin indent syntax; do \
29 rm $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \
30 rmdir $(DESTDIR)$(vimdir)/$$a; \
31 done
32 -rmdir -p $(DESTDIR)$(vimdir)
34 $(buildscript-dir)/lilypond-words:
35 make -C $(depth)/scripts/build
37 $(LILYPOND_WORDS):
38 cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
40 all: $(LILYPOND_WORDS)