X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=elisp%2FGNUmakefile;h=b7308e2040d8a333974b92a629bb82238343ceb8;hb=3b53bdd3752fdc0e82ffab896d42490a606c5d89;hp=8a0344f73b5ce4c1a9da1878ba258dfee557b505;hpb=5e738a5fbbccd3b1cf56976f103633109d584d3c;p=lilypond.git diff --git a/elisp/GNUmakefile b/elisp/GNUmakefile index 8a0344f73b..b7308e2040 100644 --- a/elisp/GNUmakefile +++ b/elisp/GNUmakefile @@ -1,25 +1,28 @@ depth = .. -elispdir = $(datadir)/emacs/site-lisp +# elispdir defined in config.make INSTALLATION_DIR=$(elispdir) INSTALLATION_FILES=$(EL_FILES) INSTALLATION_OUT_DIR=$(elispdir) -INSTALLATION_OUT_FILES=$(outdir)/lilypond.words.el +INSTALLATION_OUT_FILES=$(outdir)/lilypond-words.el STEPMAKE_TEMPLATES=elisp install install-out -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make -LILYPOND_WORDS = $(outdir)/lilypond.words.el $(outdir)/lilypond.words.vim +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 $(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)