File: GNUmakefile

package info (click to toggle)
lilypond 2.24.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,352 kB
  • sloc: cpp: 87,962; lisp: 43,344; xml: 31,269; python: 22,974; sh: 4,090; yacc: 4,080; perl: 2,873; lex: 1,387; makefile: 76
file content (25 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (4)
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
depth = ..

SUBDIRS=auxiliar

TEMPLATES = install-out install po

PY_MODULES_IN = $(filter-out %_test.py, $(call src-wildcard,*.py))

include $(depth)/make/lilypond.make

$(outdir)/%.pyc.dummy: %.py $(buildscript-dir)/compile.py
	$(call ly_progress,Making,$@,(py compile))
	$(PYTHON) $(buildscript-dir)/compile.py $< $(outdir)
	touch $@

default: $(PY_MODULES_IN:%.py=$(outdir)/%.pyc.dummy)

INSTALLATION_DIR = $(local_lilypond_datadir)/python
INSTALLATION_FILES = $(PY_MODULES_IN)

INSTALLATION_OUT_DIR = $(local_lilypond_datadir)/python/__pycache__
INSTALLATION_OUT_FILES = $(wildcard $(outdir)/__pycache__/*.pyc)

local-test: book_base_test.py
	$(PYTHON) $<