]> git.donarmstrong.com Git - lilypond.git/blobdiff - elisp/GNUmakefile
PO: update template.
[lilypond.git] / elisp / GNUmakefile
index 8a0344f73b5ce4c1a9da1878ba258dfee557b505..b7308e2040d8a333974b92a629bb82238343ceb8 100644 (file)
@@ -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)