]> git.donarmstrong.com Git - lilypond.git/blob - mf/Makefile
patch::: 0.1.16.jcn2: rust
[lilypond.git] / mf / Makefile
1 # mf/Makefile
2
3 # subdir level:
4 #
5 depth = ..
6 #
7 #
8 include ./$(depth)/make/Include.make
9 #
10
11 # list of distribution files:
12
13 TEXFILES = $(wildcard *.tex)
14 MFFILES = $(wildcard *.mf)
15 EXTRA_DISTFILES = $(MFFILES) $(TEXFILES) TODO
16 #
17
18 FONT_FILES = $(wildcard *[0-9].mf)
19 tableout = $(depth)/init
20 TABLES = $(addprefix $(tableout)/, $(FONT_FILES:.mf=.ly))
21 #
22
23 all: $(TABLES)
24
25 # localclean:
26 #       rm -f $(TABLES)
27
28 $(outdir)/%.log: %.mf
29         mf $<
30         mv $(@F) $@
31         rm $(shell basename $< .mf).*gf
32
33 $(tableout)/%.ly: $(outdir)/%.log
34         mf-to-table -o $@ $<
35         
36 localinstall:
37         $(INSTALL) -d $(MFDIR)/lilypond
38         $(INSTALL) -m 644 $(MFFILES) $(MFDIR)/lilypond/
39
40 localuninstall:
41         for i in $(MFFILES) ; do rm -f $(MFDIR)/lilypond/$$i; done
42         -rmdir $(MFDIR)/lilypond/
43
44 # dependencies:
45 #
46 $(tableout)/dyn10.ly: autometric.mf ital-f.mf ital-m.mf ital-p.mf ital-r.mf ital-s.mf ital-z.mf dyn10.mf
47 $(tableout)/font-en-tja16.ly: autometric.mf bolletjes.mf eindelijk.mf font-en-tja16.mf
48 $(tableout)/font-en-tja20.ly: autometric.mf bolletjes.mf eindelijk.mf font-en-tja20.mf
49 #
50
51