]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4552 / 2: Add makefiles to install TeX Gyre font OTF files
authorMasamichi Hosoda <trueroad@trueroad.jp>
Mon, 10 Aug 2015 01:47:49 +0000 (10:47 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 20 Aug 2015 09:35:10 +0000 (18:35 +0900)
This commit adds makefiles
to install TeX Gyre font OTF files.

GNUmakefile.in
mf/GNUmakefile

index 8917d561cd2f1c5078a0ccd0957d310217d22778..abc7ecaf6aba1eea6416582c9a590ec2690296b1 100644 (file)
@@ -258,7 +258,9 @@ $(tree-share-prefix)/mf-link-tree: $(tree-share-prefix)/lilypond-force
        rm -f $(tree-share-prefix)/fonts/tfm/* &&  \
        rm -f $(tree-share-prefix)/fonts/type1/* &&  \
                cd $(tree-share-prefix)/fonts/otf && \
-               ln -s ../../../../../../mf/$(outconfbase)/*.otf .
+               ln -s ../../../../../../mf/$(outconfbase)/*.otf . && \
+               $(foreach i,$(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES)), \
+                       ln -s $i . && ) true
        -cd $(tree-share-prefix)/fonts && \
                ln -s ../../../../../mf/$(outconfbase)/fonts.conf . && \
                ln -s ../../../../../mf/$(outconfbase)/00-lilypond-fonts.conf . && \
index 5e2d0cf1a759277a1ee33f5ab506814bb46aa865..2cddd187e12b8082b1bc7c354f948fd3d84bf392 100644 (file)
@@ -50,6 +50,8 @@ COUR_OTFS = $(addprefix $(outdir)/,NimbusMonL-ReguObli.otf \
                                   NimbusMonL-Regu.otf \
                                   NimbusMonL-Bold.otf)
 
+TEXGYRE_OTFS = $(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES))
+
 LILYPOND_FONTS_CONF = $(outdir)/00-lilypond-fonts.conf \
                      $(outdir)/99-lilypond-fonts.conf
 
@@ -103,7 +105,7 @@ INSTALLATION_OUT_SUFFIXES = 1 2 3
 
 INSTALLATION_OUT_DIR1 = $(local_lilypond_datadir)/fonts/otf
 INSTALLATION_OUT_FILES1 = $(OTF_FILES) \
-                         $(NCSB_OTFS) $(HELV_OTFS) $(COUR_OTFS)
+                         $(NCSB_OTFS) $(HELV_OTFS) $(COUR_OTFS) $(TEXGYRE_OTFS)
 
 INSTALLATION_OUT_DIR2 = $(local_lilypond_datadir)/fonts/svg
 INSTALLATION_OUT_FILES2 = $(SVG_FILES) $(WOFF_FILES)