]> git.donarmstrong.com Git - lilypond.git/blob - elisp/GNUmakefile
Merge branch 'translation' of ssh://git.sv.gnu.org/srv/git/lilypond into translation
[lilypond.git] / elisp / GNUmakefile
1 depth = ..
2
3 # elispdir defined in config.make
4
5 INSTALLATION_DIR=$(elispdir)
6 INSTALLATION_FILES=$(EL_FILES)
7
8 INSTALLATION_OUT_DIR=$(elispdir)
9 INSTALLATION_OUT_FILES=$(outdir)/lilypond-words.el
10
11 STEPMAKE_TEMPLATES=elisp install install-out
12 EXTRA_DIST_FILES= emacsclient.patch server.el.patch 
13
14 include $(depth)/make/stepmake.make
15
16 LILYPOND_WORDS = $(outdir)/lilypond-words.el
17 LILYPOND_WORDS_DEPENDS =\
18   $(top-src-dir)/lily/lily-lexer.cc \
19   $(buildscript-dir)/lilypond-words \
20   $(top-src-dir)/scm/markup.scm \
21   $(top-src-dir)/ly/engraver-init.ly
22
23 $(buildscript-dir)/lilypond-words:
24         make -C $(depth)/scripts/build
25
26 $(LILYPOND_WORDS):
27         cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --el --dir=$(top-build-dir)/elisp/$(outconfbase)
28
29 all: $(LILYPOND_WORDS)