INSTALLATION_OUT_FILES=$(LILYPOND_WORDS)
# $(outdir)/lilypond-words $(outdir)/lilypond-words.el
-EXTRA_DIST_FILES=$(wildcard *.vim) vimrc
+EXTRA_DIST_FILES=$(call src-wildcard,*.vim) vimrc
LILYPOND_WORDS = $(outdir)/lilypond-words $(outdir)/lilypond-words.vim
LILYPOND_WORDS_DEPENDS =\
- $(topdir)/lily/lily-lexer.cc \
+ $(top-src-dir)/lily/lily-lexer.cc \
$(buildscript-dir)/lilypond-words.py \
- $(topdir)/scm/markup.scm \
- $(topdir)/ly/engraver-init.ly
+ $(top-src-dir)/scm/markup.scm \
+ $(top-src-dir)/ly/engraver-init.ly
STEPMAKE_TEMPLATES=install-out
-rmdir -p $(DESTDIR)$(vimdir)/syntax
$(LILYPOND_WORDS):
- cd $(topdir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(builddir)/vim/$(outconfbase)
+ cd $(top-src-dir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
all: $(LILYPOND_WORDS)