]> git.donarmstrong.com Git - lilypond.git/blobdiff - mf/GNUmakefile
Doc-es: various updates.
[lilypond.git] / mf / GNUmakefile
index 141ba631979ed55edca904e384cb2b24d8c078c5..6a6475965e3e21f9d0be0502a02e19d738b67f41 100644 (file)
@@ -35,10 +35,11 @@ OTF_TABLES = $(STAFF_SIZES:%=$(outdir)/feta%.otf-table) \
 SVG_FILES = $(OTF_FILES:%.otf=%.svg)
 WOFF_FILES = $(OTF_FILES:%.otf=%.woff)
 
-NCSB_OTFS = $(addprefix $(outdir)/,CenturySchL-Ital.otf \
-                                  CenturySchL-BoldItal.otf \
-                                  CenturySchL-Roma.otf \
-                                  CenturySchL-Bold.otf)
+TEXGYRE_OTFS = $(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES))
+URWOTF_OTFS = $(addprefix $(URWOTF_DIR)/,$(URWOTF_FILES))
+
+LILYPOND_FONTS_CONF = $(outdir)/00-lilypond-fonts.conf \
+                     $(outdir)/99-lilypond-fonts.conf
 
 LOG_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.log)
 LISP_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.lisp)
@@ -73,25 +74,29 @@ $(outdir)/emmentaler-%.genpe: $(buildscript-dir)/gen-emmentaler-scripts
        $< --dir=$(outdir) --design-size=$(patsubst emmentaler-%.genpe,%,$(notdir $@))
 
 ALL_GEN_FILES = $(ENC_FILES) \
-               $(NCSB_OTFS) \
                $(OTF_FILES) \
                $(SVG_FILES) \
-               $(WOFF_FILES)
+               $(WOFF_FILES) \
+               $(LILYPOND_FONTS_CONF)
 
 # PRE_INSTALL=$(MAKE) "$(ALL_GEN_FILES)"
 
 INSTALLATION_DIR = $(local_lilypond_datadir)/fonts/source
 INSTALLATION_FILES = $(MF_FILES)
 
-INSTALLATION_OUT_SUFFIXES = 1 2
+INSTALLATION_OUT_SUFFIXES = 1 2 3
 
 INSTALLATION_OUT_DIR1 = $(local_lilypond_datadir)/fonts/otf
 INSTALLATION_OUT_FILES1 = $(OTF_FILES) \
-                         $(NCSB_OTFS)
+                         $(TEXGYRE_OTFS) \
+                         $(URWOTF_OTFS)
 
 INSTALLATION_OUT_DIR2 = $(local_lilypond_datadir)/fonts/svg
 INSTALLATION_OUT_FILES2 = $(SVG_FILES) $(WOFF_FILES)
 
+INSTALLATION_OUT_DIR3 = $(local_lilypond_datadir)/fonts
+INSTALLATION_OUT_FILES3 = $(LILYPOND_FONTS_CONF)
+
 export MFINPUTS := .:$(MFINPUTS)
 
 # A few rules here generate multiple files from one command line.  For
@@ -160,15 +165,3 @@ local-clean:
 
 $(outdir)/fonts.conf:
        echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@
-
-
-$(outdir)/CenturySchL-Roma.otf: $(NCSB_SOURCE_FILES) \
-             $(auxscript-dir)/pfx2ttf.fontforge
-       $(foreach i, $(basename $(NCSB_SOURCE_FILES)), \
-               $(FONTFORGE) -script $(auxscript-dir)/pfx2ttf.fontforge \
-                       $(i).pfb $(i).afm $(outdir)/ && ) true
-
-$(addprefix $(outdir)/,CenturySchL-Ital.otf \
-       CenturySchL-Bold.otf \
-       CenturySchL-BoldItal.otf): $(outdir)/CenturySchL-Roma.otf
-       $(UPDATE_TARGET)