Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 # mf/GNUmakefile | 1 # mf/GNUmakefile |
2 | 2 |
3 depth = .. | 3 depth = .. |
4 | 4 |
5 STEPMAKE_TEMPLATES = metafont \ | 5 STEPMAKE_TEMPLATES = metafont \ |
6 install \ | 6 install \ |
7 install-out | 7 install-out |
8 LOCALSTEPMAKE_TEMPLATES = lilypond | 8 LOCALSTEPMAKE_TEMPLATES = lilypond |
9 | 9 |
10 # These are the main .mf files. We don't use $(MF_FILES) here, | 10 # These are the main .mf files. We don't use $(MF_FILES) here, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
155 | pfb | 155 | pfb |
156 cd $(outdir) && $(FONTFORGE) -script $(notdir $<) | 156 cd $(outdir) && $(FONTFORGE) -script $(notdir $<) |
157 | 157 |
158 $(outdir)/emmentaler-%-cid.otf: $(outdir)/emmentaler-%.otf | 158 $(outdir)/emmentaler-%-cid.otf: $(outdir)/emmentaler-%.otf |
159 $(UPDATE_TARGET) | 159 $(UPDATE_TARGET) |
160 | 160 |
161 $(outdir)/emmentaler-brace-cid.otf: $(outdir)/emmentaler-brace.otf | 161 $(outdir)/emmentaler-brace-cid.otf: $(outdir)/emmentaler-brace.otf |
162 $(UPDATE_TARGET) | 162 $(UPDATE_TARGET) |
163 | 163 |
164 $(outdir)/emmentaler-%.cid: $(outdir)/emmentaler-%-cid.otf | 164 $(outdir)/emmentaler-%.cid: $(outdir)/emmentaler-%-cid.otf |
165 cd $(outdir) && mv $(notdir $<) $(notdir $@) | 165 cd $(outdir) && mv $(notdir $<) $(notdir $@) |
trueroad
2018/06/02 02:48:26
Is it necessary to change the file name?
I think t
| |
166 | 166 |
167 $(outdir)/emmentaler-brace.cid: $(outdir)/emmentaler-brace-cid.otf | 167 $(outdir)/emmentaler-brace.cid: $(outdir)/emmentaler-brace-cid.otf |
168 cd $(outdir) && mv $(notdir $<) $(notdir $@) | 168 cd $(outdir) && mv $(notdir $<) $(notdir $@) |
169 | 169 |
170 $(outdir)/emmentaler-%.svg $(outdir)/emmentaler-%.woff: $(outdir)/emmentaler-%.o tf | 170 $(outdir)/emmentaler-%.svg $(outdir)/emmentaler-%.woff: $(outdir)/emmentaler-%.o tf |
171 $(UPDATE_TARGET) | 171 $(UPDATE_TARGET) |
172 | 172 |
173 $(outdir)/emmentaler-brace.otf: $(outdir)/emmentaler-brace.pe\ | 173 $(outdir)/emmentaler-brace.otf: $(outdir)/emmentaler-brace.pe\ |
174 $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfb) \ | 174 $(foreach s,$(BRACES),$(outdir)/feta-braces-$(s).pfb) \ |
175 $(outdir)/emmentaler-brace.otf-table $(outdir)/emmentaler -brace.otf-gtable \ | 175 $(outdir)/emmentaler-brace.otf-table $(outdir)/emmentaler -brace.otf-gtable \ |
176 | pfb | 176 | pfb |
177 cd $(outdir) && $(FONTFORGE) -script emmentaler-brace.pe | 177 cd $(outdir) && $(FONTFORGE) -script emmentaler-brace.pe |
178 | 178 |
179 $(outdir)/emmentaler-brace.svg $(outdir)/emmentaler-brace.woff: $(outdir)/emment aler-brace.otf | 179 $(outdir)/emmentaler-brace.svg $(outdir)/emmentaler-brace.woff: $(outdir)/emment aler-brace.otf |
180 $(UPDATE_TARGET) | 180 $(UPDATE_TARGET) |
181 | 181 |
182 $(outdir)/texgyreschola-regular.cid: $(TEXGYRE_DIR)/texgyreschola-regular.otf $( outdir)/texgyreschola.pe | 182 $(outdir)/texgyreschola-regular.cid: $(TEXGYRE_DIR)/texgyreschola-regular.otf $( outdir)/texgyreschola.pe |
183 echo XXXX $(TEXGYRE_DIR)/texgyreschola-regular.otf YYY | |
lemzwerg
2018/05/30 04:31:54
This looks like a debug message, probably to be re
knupero
2018/05/30 12:32:14
Done.
| |
184 cd $(outdir) && $(FONTFORGE) -script texgyreschola.pe $(TEXGYRE_DIR)/ | 183 cd $(outdir) && $(FONTFORGE) -script texgyreschola.pe $(TEXGYRE_DIR)/ |
185 mv $(outdir)/texgyreschola-regular-cid.otf $(outdir)/texgyreschola-regul ar.cid | 184 mv $(outdir)/texgyreschola-regular-cid.otf $(outdir)/texgyreschola-regul ar.cid |
186 mv $(outdir)/texgyreschola-bold-cid.otf $(outdir)/texgyreschola-bold.cid | 185 mv $(outdir)/texgyreschola-bold-cid.otf $(outdir)/texgyreschola-bold.cid |
187 mv $(outdir)/texgyreschola-italic-cid.otf $(outdir)/texgyreschola-italic .cid | 186 mv $(outdir)/texgyreschola-italic-cid.otf $(outdir)/texgyreschola-italic .cid |
188 mv $(outdir)/texgyreschola-bolditalic-cid.otf $(outdir)/texgyreschola-bo lditalic.cid | 187 mv $(outdir)/texgyreschola-bolditalic-cid.otf $(outdir)/texgyreschola-bo lditalic.cid |
189 | 188 |
190 $(outdir)/texgyreschola-bold.cid: $(outdir)/texgyreschola-regular.cid | 189 $(outdir)/texgyreschola-bold.cid: $(outdir)/texgyreschola-regular.cid |
191 $(UPDATE_TARGET) | 190 $(UPDATE_TARGET) |
192 | 191 |
193 $(outdir)/texgyreschola-italic.cid: $(outdir)/texgyreschola-regular.cid | 192 $(outdir)/texgyreschola-italic.cid: $(outdir)/texgyreschola-regular.cid |
194 $(UPDATE_TARGET) | 193 $(UPDATE_TARGET) |
195 | 194 |
196 $(outdir)/texgyreschola-bolditalic.cid: $(outdir)/texgyreschola-regular.cid | 195 $(outdir)/texgyreschola-bolditalic.cid: $(outdir)/texgyreschola-regular.cid |
197 $(UPDATE_TARGET) | 196 $(UPDATE_TARGET) |
198 | 197 |
199 $(outdir)/TGSR.ps: $(TEXGYRE_DIR)/texgyreschola-regular.otf | 198 $(outdir)/TGSR.ps: $(TEXGYRE_DIR)/texgyreschola-regular.otf |
200 cd $(outdir) | 199 cd $(outdir) |
201 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-regular.otf | \ | 200 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-regular.otf \ |
lemzwerg
2018/05/30 04:31:54
I suggest to start a line with the pipe symbol:
knupero
2018/05/30 12:32:14
Done.
| |
202 » grep -v "\.notdef" | \ | 201 » | grep -v "\.notdef" \ |
203 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/TGSR-\2 <\1> def/" > \ | 202 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/TGSR-\2 <\1> def/" \ |
204 » $(outdir)/TGSR.ps | 203 » > $(outdir)/TGSR.ps |
205 | 204 |
206 $(outdir)/TGSB.ps: $(TEXGYRE_DIR)/texgyreschola-bold.otf | 205 $(outdir)/TGSB.ps: $(TEXGYRE_DIR)/texgyreschola-bold.otf |
207 cd $(outdir) | 206 cd $(outdir) |
208 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-bold.otf | \ | 207 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-bold.otf \ |
209 » grep -v "\.notdef" | \ | 208 » | grep -v "\.notdef" \ |
210 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/TGSB-\2 <\1> def/" > \ | 209 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/TGSB-\2 <\1> def/" \ |
211 » $(outdir)/TGSB.ps | 210 » > $(outdir)/TGSB.ps |
212 | 211 |
213 $(outdir)/TGSI.ps: $(TEXGYRE_DIR)/texgyreschola-italic.otf | 212 $(outdir)/TGSI.ps: $(TEXGYRE_DIR)/texgyreschola-italic.otf |
214 cd $(outdir) | 213 cd $(outdir) |
215 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-italic.otf | \ | 214 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-italic.otf \ |
216 » grep -v "\.notdef" | \ | 215 » | grep -v "\.notdef" \ |
217 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/TGSI-\2 <\1> def/" > \ | 216 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/TGSI-\2 <\1> def/" \ |
218 » $(outdir)/TGSI.ps | 217 » > $(outdir)/TGSI.ps |
219 | 218 |
220 $(outdir)/TGSBI.ps: $(TEXGYRE_DIR)/texgyreschola-bolditalic.otf | 219 $(outdir)/TGSBI.ps: $(TEXGYRE_DIR)/texgyreschola-bolditalic.otf |
221 cd $(outdir) | 220 cd $(outdir) |
222 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-bolditalic.otf | \ | 221 » otfinfo -u $(TEXGYRE_DIR)/texgyreschola-bolditalic.otf \ |
223 » grep -v "\.notdef" | \ | 222 » | grep -v "\.notdef" \ |
224 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/TGSBI-\2 <\1> def/" > \ | 223 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/TGSBI-\2 <\1> def/" \ |
225 » $(outdir)/TGSBI.ps | 224 » > $(outdir)/TGSBI.ps |
226 | 225 |
227 $(outdir)/EMM.ps: $(outdir)/emmentaler-20.otf | 226 $(outdir)/EMM.ps: $(outdir)/emmentaler-20.otf |
228 cd $(outdir) | 227 cd $(outdir) |
229 » otfinfo -u $(outdir)/emmentaler-20.otf | \ | 228 » otfinfo -u $(outdir)/emmentaler-20.otf \ |
230 » grep -v "\.notdef" | \ | 229 » | grep -v "\.notdef" \ |
231 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/EMM-\2 { <\1> show } def/" > \ | 230 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/EMM-\2 { <\1> show } def/" \ |
232 » $(outdir)/EMM.ps | 231 » > $(outdir)/EMM.ps |
233 | 232 |
234 $(outdir)/EMMB.ps: $(outdir)/emmentaler-brace.otf | 233 $(outdir)/EMMB.ps: $(outdir)/emmentaler-brace.otf |
235 cd $(outdir) | 234 cd $(outdir) |
236 » otfinfo -u $(outdir)/emmentaler-brace.otf | \ | 235 » otfinfo -u $(outdir)/emmentaler-brace.otf \ |
237 » grep -v "\.notdef" | \ | 236 » | grep -v "\.notdef" \ |
238 » sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[:p rint:]]*\)/\/EMM-\2 { <\1> show } def/" > \ | 237 » | sed -e "s/uni\([[:xdigit:]]*\)[[:space:]]*[[:digit:]]*[[:space:]]*\([[ :print:]]*\)/\/EMM-\2 { <\1> show } def/" \ |
239 » $(outdir)/EMMB.ps | 238 » > $(outdir)/EMMB.ps |
240 | 239 |
241 default: tree-regen \ | 240 default: tree-regen \ |
242 $(outdir)/fonts.conf | 241 $(outdir)/fonts.conf |
243 | 242 |
244 .PHONY: tree-regen | 243 .PHONY: tree-regen |
245 | 244 |
246 tree-regen: $(ALL_GEN_FILES) | 245 tree-regen: $(ALL_GEN_FILES) |
247 ${MAKE} -C $(top-build-dir) link-mf-tree | 246 ${MAKE} -C $(top-build-dir) link-mf-tree |
248 | 247 |
249 local-clean: | 248 local-clean: |
250 rm -f mfplain.mem mfplain.log | 249 rm -f mfplain.mem mfplain.log |
251 rm -f *.tfm *.log | 250 rm -f *.tfm *.log |
252 | 251 |
253 $(outdir)/fonts.conf: | 252 $(outdir)/fonts.conf: |
254 echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@ | 253 echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@ |
LEFT | RIGHT |