STEPMAKE_TEMPLATES=elisp install install-out
-include $(depth)/make/stepmake.make
+include $(depth)/make/stepmake.make
LILYPOND_WORDS = $(outdir)/lilypond-words.el
LILYPOND_WORDS_DEPENDS =\
- $(topdir)/lily/my-lily-lexer.cc \
- $(buildscript-dir)/lilypond-words.py \
- $(topdir)/scm/new-markup.scm \
- $(topdir)/ly/engraver-init.ly
+ $(top-src-dir)/lily/lily-lexer.cc \
+ $(buildscript-dir)/lilypond-words \
+ $(top-src-dir)/scm/markup.scm \
+ $(top-src-dir)/ly/engraver-init.ly
-$(LILYPOND_WORDS):
- cd $(topdir) && $(PYTHON) buildscripts/lilypond-words.py --el --dir=$(builddir)/elisp/$(outconfbase)
+$(buildscript-dir)/lilypond-words:
+ make -C $(depth)/scripts/build
+
+$(LILYPOND_WORDS):
+ cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --el --dir=$(top-build-dir)/elisp/$(outconfbase)
all: $(LILYPOND_WORDS)