]> git.donarmstrong.com Git - lilypond.git/blob - init/Makefile
patch::: 0.1.48: Re: lily 0.1.59
[lilypond.git] / init / Makefile
1 # init/Makefile
2
3
4 # subdir level:
5 #
6 depth = ..
7 #
8
9 build = ./$(depth)/lily/$(outdir)/.build
10
11 # generic stuff/Makefile
12 #
13 include ./$(depth)/make/Include.make
14
15 # list of distribution files:
16
17 INIFILES = $(wildcard *.ly)
18 DISTFILES = Makefile $(INIFILES)
19
20 ## we probably can make tex/*defs.tex and init/*.ly in one go...
21 ## moved to mf/Makefile
22 FONT_FILES = $(wildcard $(depth)/mf/*[0-9].mf)
23 TABLES = $(patsubst $(depth)/mf/%.mf,%.ly,$(FONT_FILES))
24 ## 
25 ## all: $(TABLES)
26 ## 
27 ## $(outdir)/%.log: $(depth)/mf/%.mf
28 ##      mf $<
29 ##      mv $(@F) $@
30 ##      rm $(shell basename $< .mf).*gf
31 ## 
32 ## %.ly: $(outdir)/%.log
33 ##      mf-to-table -o $@ $<
34 ## 
35 localclean:
36         rm -f $(TABLES)
37
38 localinstall:
39         $(INSTALL) -d $(datadir)/lilypond/init
40         $(INSTALL) -m 644 $(INIFILES) $(datadir)/lilypond/init
41
42 localuninstall:
43         for i in $(INIFILES) ; do rm -f $(datadir)/lilypond/init/$$i; done
44         -rmdir $(datadir)/lilypond/init $(datadir)/lilypond/