summaryrefslogtreecommitdiff
path: root/elisp/GNUmakefile
blob: b7308e2040d8a333974b92a629bb82238343ceb8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
depth = ..

# elispdir defined in config.make

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
LILYPOND_WORDS_DEPENDS =\
  $(top-src-dir)/lily/lily-lexer.cc \
  $(buildscript-dir)/lilypond-words \
  $(top-src-dir)/scm/markup.scm \
  $(top-src-dir)/ly/engraver-init.ly

$(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)