blob: ad032e42fe75d5542147a7dd6e756e9557ace988 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
depth = ..
INSTALLATION_OUT_DIR=$(vimdir)/syntax
INSTALLATION_OUT_FILES=$(LILYPOND_WORDS)
# $(outdir)/lilypond-words $(outdir)/lilypond-words.el
EXTRA_DIST_FILES=$(call src-wildcard,*.vim) vimrc
LILYPOND_WORDS = $(outdir)/lilypond-words $(outdir)/lilypond-words.vim
LILYPOND_WORDS_DEPENDS =\
$(top-src-dir)/lily/lily-lexer.cc \
$(buildscript-dir)/lilypond-words \
$(top-src-dir)/scm/markup.scm \
$(top-src-dir)/ly/engraver-init.ly
STEPMAKE_TEMPLATES=install-out
# vimdir defined in config.make
include $(depth)/make/stepmake.make
local-install:
for a in compiler ftdetect ftplugin indent syntax; do \
$(INSTALL) -d $(DESTDIR)$(vimdir)/$$a \
&& $(INSTALL) -m 644 $(src-dir)/lilypond-$$a.vim $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \
done
local-uninstall:
for a in compiler ftdetect ftplugin indent syntax; do \
rm $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \
rmdir $(DESTDIR)$(vimdir)/$$a; \
done
-rmdir -p $(DESTDIR)$(vimdir)
$(buildscript-dir)/lilypond-words:
make -C $(depth)/scripts/build
$(LILYPOND_WORDS):
cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
all: $(LILYPOND_WORDS)
|