Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 # mf/GNUmakefile | 1 # mf/GNUmakefile |
2 | 2 |
3 depth = .. | 3 depth = .. |
4 | 4 |
5 STEPMAKE_TEMPLATES = install install-out | 5 STEPMAKE_TEMPLATES = install install-out |
6 LOCALSTEPMAKE_TEMPLATES = lilypond | 6 LOCALSTEPMAKE_TEMPLATES = lilypond |
7 | 7 |
8 # These are the main .mf files. We don't use $(MF_FILES) here, | 8 # These are the main .mf files. We don't use $(MF_FILES) here, |
9 # because there are more .mf files, input'ed into the main files. | 9 # because there are more .mf files, input'ed into the main files. |
10 FETA_MF_FILES = $(call src-wildcard,feta[0-9]*.mf) \ | 10 FETA_MF_FILES = $(call src-wildcard,feta[0-9]*.mf) \ |
(...skipping 15 matching lines...) Expand all Loading... | |
26 $(outdir)/%.dvi: %.mf | 26 $(outdir)/%.dvi: %.mf |
27 $(call ly_progress,Making,$@,< mf) | 27 $(call ly_progress,Making,$@,< mf) |
28 MFINPUTS=$(src-dir) \ | 28 MFINPUTS=$(src-dir) \ |
29 max_print_line=1000 \ | 29 max_print_line=1000 \ |
30 $(METAFONT) "\scrollmode; input $<;" $(METAFONT_QUIET) | 30 $(METAFONT) "\scrollmode; input $<;" $(METAFONT_QUIET) |
31 gftodvi $(basename $<) | 31 gftodvi $(basename $<) |
32 mv $(basename $<).dvi $(outdir) | 32 mv $(basename $<).dvi $(outdir) |
33 rm $(basename $<).*gf | 33 rm $(basename $<).*gf |
34 | 34 |
35 $(outdir)/%.tfm $(outdir)/%.log $(outdir)/%.pfb: %.mf $(outdir)/mf2pt1.mem invok e-mf2pt1.sh | 35 $(outdir)/%.tfm $(outdir)/%.log $(outdir)/%.pfb: %.mf $(outdir)/mf2pt1.mem invok e-mf2pt1.sh |
36 » $(call ly_progress,Making,$@,< mf) | 36 » $(call ly_progress,Making,$(outdir)/$*.pfb,< mf) |
hahnjo
2020/03/19 08:29:59
Should be $(outdir)/%.pfb instead of $@
hanwenn
2020/03/21 12:28:58
Done.
| |
37 $(src-dir)/invoke-mf2pt1.sh $(buildscript-dir)/mf2pt1 $< $(outdir)/$*.pf b $(METAFONT_QUIET) | 37 $(src-dir)/invoke-mf2pt1.sh $(buildscript-dir)/mf2pt1 $< $(outdir)/$*.pf b $(METAFONT_QUIET) |
38 | 38 |
39 # since recent mpost versions no longer create a mem file, we create a dummy | 39 # since recent mpost versions no longer create a mem file, we create a dummy |
40 # file to satisfy the dependency (which gets overwritten in case an older | 40 # file to satisfy the dependency (which gets overwritten in case an older |
41 # mpost creates a real mem file) | 41 # mpost creates a real mem file) |
42 $(outdir)/mf2pt1.mem: mf2pt1.mp | 42 $(outdir)/mf2pt1.mem: mf2pt1.mp |
43 $(call ly_progress,Making,$@,< mp) | 43 $(call ly_progress,Making,$@,< mp) |
44 cd $(outdir) \ | 44 cd $(outdir) \ |
45 && touch mf2pt1.mem \ | 45 && touch mf2pt1.mem \ |
46 && mpost -progname=mpost -ini $(top-src-dir)/mf/mf2pt1.mp \\dump $(ME TAFONT_QUIET) | 46 && mpost -progname=mpost -ini $(top-src-dir)/mf/mf2pt1.mp \\dump $(ME TAFONT_QUIET) |
47 | 47 |
48 ifndef VERBOSE | 48 ifndef VERBOSE |
49 METAFONT_QUIET = >/dev/null | 49 METAFONT_QUIET = >/dev/null |
50 else | 50 else |
51 METAFONT_QUIET = | 51 METAFONT_QUIET = |
52 endif | 52 endif |
53 | 53 |
54 $(outdir)/emmentaler-brace.subfonts: | 54 $(outdir)/emmentaler-brace.subfonts: |
55 $(call ly_progress,Making,$@,) | 55 $(call ly_progress,Making,$@,) |
56 echo $(subst .mf,,$(call src-wildcard,feta-braces-[a-z].mf)) > $@ | 56 echo $(subst .mf,,$(call src-wildcard,feta-braces-[a-z].mf)) > $@ |
57 | 57 |
58 $(outdir)/emmentaler-%.genpe: $(buildscript-dir)/gen-emmentaler-scripts | 58 $(outdir)/emmentaler-%.genpe: $(buildscript-dir)/gen-emmentaler-scripts |
59 $(call ly_progress,Making,$@,) | 59 $(call ly_progress,Making,$@,) |
60 $< --dir=$(outdir) --design-size=$(patsubst emmentaler-%.genpe,%,$(notdi r $@)) | 60 $< --dir=$(outdir) --design-size=$(patsubst emmentaler-%.genpe,%,$(notdi r $@)) |
61 | 61 |
62 | 62 |
63 EXTRA_DIST_FILES += README mf2pt1.mp invoke-mf2pt.sh r | 63 EXTRA_DIST_FILES += README mf2pt1.mp invoke-mf2pt.sh |
hahnjo
2020/03/19 08:29:59
Extraneous 'r' at the end
hanwenn
2020/03/21 12:28:58
Done.
| |
64 | 64 |
65 STAFF_SIZES = 11 13 14 16 18 20 23 26 | 65 STAFF_SIZES = 11 13 14 16 18 20 23 26 |
66 BRACES = a b c d e f g h i | 66 BRACES = a b c d e f g h i |
67 | 67 |
68 OTF_FILES = $(STAFF_SIZES:%=$(outdir)/emmentaler-%.otf) \ | 68 OTF_FILES = $(STAFF_SIZES:%=$(outdir)/emmentaler-%.otf) \ |
69 $(outdir)/emmentaler-brace.otf | 69 $(outdir)/emmentaler-brace.otf |
70 SVG_FILES = $(OTF_FILES:%.otf=%.svg) | 70 SVG_FILES = $(OTF_FILES:%.otf=%.svg) |
71 WOFF_FILES = $(OTF_FILES:%.otf=%.woff) | 71 WOFF_FILES = $(OTF_FILES:%.otf=%.woff) |
72 | 72 |
73 TEXGYRE_OTFS = $(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES)) | 73 TEXGYRE_OTFS = $(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES)) |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 $(call ly_progress,Making,$@,< lisp) | 114 $(call ly_progress,Making,$@,< lisp) |
115 cat $^ > $@ | 115 cat $^ > $@ |
116 | 116 |
117 # only for fonts which | 117 # only for fonts which |
118 # | 118 # |
119 # 1. are mentioned in font.scm | 119 # 1. are mentioned in font.scm |
120 # | 120 # |
121 # 2. are not included with teTeX | 121 # 2. are not included with teTeX |
122 # | 122 # |
123 $(outdir)/%.otf-gtable $(outdir)/%.enc $(outdir)/%.lisp: $(outdir)/%.log $(outdi r)/%.tfm | 123 $(outdir)/%.otf-gtable $(outdir)/%.enc $(outdir)/%.lisp: $(outdir)/%.log $(outdi r)/%.tfm |
124 » $(call ly_progress,Making,$@,< log) | 124 » $(call ly_progress,Making,$(outdir)/$*.lisp,< log) |
hahnjo
2020/03/19 08:29:59
Should (probably) be $(outdir)/%.lisp instead of $
hanwenn
2020/03/21 12:28:58
Done.
| |
125 $(buildscript-dir)/mf-to-table \ | 125 $(buildscript-dir)/mf-to-table \ |
126 --global-lisp=$(outdir)/$(<F:.log=.otf-gtable) \ | 126 --global-lisp=$(outdir)/$(<F:.log=.otf-gtable) \ |
127 --lisp=$(outdir)/$(<F:.log=.lisp) \ | 127 --lisp=$(outdir)/$(<F:.log=.lisp) \ |
128 --outdir=$(outdir) \ | 128 --outdir=$(outdir) \ |
129 --enc $(outdir)/$(<F:.log=.enc) \ | 129 --enc $(outdir)/$(<F:.log=.enc) \ |
130 $< | 130 $< |
131 | 131 |
132 $(outdir)/emmentaler-%.svg $(outdir)/emmentaler-%.woff $(outdir)/emmentaler-%.ot f: $(outdir)/emmentaler-%.genpe \ | 132 $(outdir)/emmentaler-%.svg $(outdir)/emmentaler-%.woff $(outdir)/emmentaler-%.ot f: $(outdir)/emmentaler-%.genpe \ |
133 $(outdir)/feta%.pfb \ | 133 $(outdir)/feta%.pfb \ |
134 $(outdir)/feta-noteheads%.pfb \ | 134 $(outdir)/feta-noteheads%.pfb \ |
135 $(outdir)/feta-flags%.pfb \ | 135 $(outdir)/feta-flags%.pfb \ |
136 $(outdir)/feta-alphabet%.pfb \ | 136 $(outdir)/feta-alphabet%.pfb \ |
137 $(outdir)/parmesan%.pfb \ | 137 $(outdir)/parmesan%.pfb \ |
138 $(outdir)/parmesan-noteheads%.pfb \ | 138 $(outdir)/parmesan-noteheads%.pfb \ |
139 $(outdir)/feta%.otf-table \ | 139 $(outdir)/feta%.otf-table \ |
140 $(outdir)/feta%.otf-gtable | 140 $(outdir)/feta%.otf-gtable |
141 » $(call ly_progress,Making,$@,) | 141 » $(call ly_progress,Making,$(outdir)/emmentaler-$*.otf,) |
hahnjo
2020/03/19 08:29:59
$(outdir)/emmentaler-$*.otf
hanwenn
2020/03/21 12:28:58
Done.
| |
142 cd $(outdir) && $(FONTFORGE) -script $(notdir $<) | 142 cd $(outdir) && $(FONTFORGE) -script $(notdir $<) |
143 | 143 |
144 $(outdir)/emmentaler-brace.svg $(outdir)/emmentaler-brace.woff $(outdir)/emmenta ler-brace.otf: $(outdir)/emmentaler-brace.pe\ | 144 $(outdir)/emmentaler-brace.svg $(outdir)/emmentaler-brace.woff $(outdir)/emmenta ler-brace.otf: $(outdir)/emmentaler-brace.pe\ |
145 $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfb) \ | 145 $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfb) \ |
146 $(outdir)/emmentaler-brace.otf-table \ | 146 $(outdir)/emmentaler-brace.otf-table \ |
147 $(outdir)/emmentaler-brace.otf-gtable \ | 147 $(outdir)/emmentaler-brace.otf-gtable \ |
148 $(outdir)/emmentaler-brace.subfonts | 148 $(outdir)/emmentaler-brace.subfonts |
149 » $(call ly_progress,Making,$@,) | 149 » $(call ly_progress,Making,$(outdir)/emmentaler-brace.otf,) |
hahnjo
2020/03/19 08:29:59
$(outdir)/emmentaler-brace.otf
hanwenn
2020/03/21 12:28:58
Done.
| |
150 cd $(outdir) && $(FONTFORGE) -script emmentaler-brace.pe | 150 cd $(outdir) && $(FONTFORGE) -script emmentaler-brace.pe |
151 | 151 |
152 default: tree-regen \ | 152 default: tree-regen \ |
153 $(outdir)/fonts.conf | 153 $(outdir)/fonts.conf |
154 | 154 |
155 .PHONY: tree-regen | 155 .PHONY: tree-regen |
156 | 156 |
157 tree-regen: $(ALL_GEN_FILES) | 157 tree-regen: $(ALL_GEN_FILES) |
158 ${MAKE} -C $(top-build-dir) link-mf-tree | 158 ${MAKE} -C $(top-build-dir) link-mf-tree |
159 | 159 |
160 $(outdir)/fonts.conf: | 160 $(outdir)/fonts.conf: |
161 $(call ly_progress,Making,$@,) | 161 $(call ly_progress,Making,$@,) |
162 echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@ | 162 echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@ |
LEFT | RIGHT |