]> git.donarmstrong.com Git - lilypond.git/blob - mutopia/mutopia.make
patch::: 1.3.139.jcn4
[lilypond.git] / mutopia / mutopia.make
1 # mutopia/mutopia.make
2
3 #
4 # Magic: find and include LilyPond's StepMake rules
5 #
6 # 0: follow LILYPONDPREFIX
7 # 1: try source tree
8 # 2: try installed tree in $HOME
9 # 3: try system installed tree
10 #
11 make-root=$(wildcard $(LILYPONDPREFIX)/make)
12 make-root?=$(wildcard $(HOME)/usr/src/lilypond/make)
13 make-root?=$(wildcard /usr/share/lilypond/make)
14 make-root?=$(wildcard /usr/share/lilypond/make)
15 #make-root=<LilyPond's datadir>/make
16 ifneq ($(make-root),)
17 ### some versions apparently choke on $(message)
18 ### $(message running from $(make-root))
19 depth=$(make-root)/..
20 LOCALSTEPMAKE_TEMPLATES=ly mutopia
21 include $(make-root)/stepmake.make
22 else
23 $(error can't find LilyPond's stepmake installation)
24 endif
25 #
26