]> git.donarmstrong.com Git - lilypond.git/blobdiff - elisp/GNUmakefile
* GNUmakefile.in (SUBDIRS): Add elisp.
[lilypond.git] / elisp / GNUmakefile
diff --git a/elisp/GNUmakefile b/elisp/GNUmakefile
new file mode 100644 (file)
index 0000000..8a0344f
--- /dev/null
@@ -0,0 +1,25 @@
+depth = ..
+
+elispdir = $(datadir)/emacs/site-lisp
+
+INSTALLATION_DIR=$(elispdir)
+INSTALLATION_FILES=$(EL_FILES)
+
+INSTALLATION_OUT_DIR=$(elispdir)
+INSTALLATION_OUT_FILES=$(outdir)/lilypond.words.el
+
+STEPMAKE_TEMPLATES=elisp install install-out
+
+include $(depth)/make/stepmake.make 
+
+LILYPOND_WORDS = $(outdir)/lilypond.words.el $(outdir)/lilypond.words.vim
+LILYPOND_WORDS_DEPENDS =\
+  $(topdir)/lily/my-lily-lexer.cc \
+  $(buildscript-dir)/lilypond.words.py \
+  $(topdir)/scm/new-markup.scm \
+  $(topdir)/ly/engraver-init.ly
+
+$(LILYPOND_WORDS): 
+       cd $(topdir) && $(PYTHON) buildscripts/lilypond.words.py $(builddir)/elisp/$(outconfbase)
+
+all: $(LILYPOND_WORDS)