Use out/gen-emmentaler-scripts, not gen-emmentaler-scripts.py.
[lilypond.git] / vim / GNUmakefile
blobb05ec0e3c7c42c52e3de3574d5ec6754badd4ed4
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.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
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 -p $(DESTDIR)$(vimdir)/$$a ; \
31 done
33 $(LILYPOND_WORDS):
34 cd $(top-src-dir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
36 all: $(LILYPOND_WORDS)