summaryrefslogtreecommitdiff
path: root/mf
diff options
context:
space:
mode:
authorJulien Rioux <julien.rioux@gmail.com>2013-09-04 05:26:29 +0200
committerJulien Rioux <julien.rioux@gmail.com>2013-09-18 05:41:53 -0400
commit98b7bc3e8d9549c3991d82fd1b99f26724a70450 (patch)
tree5b6e0e7147052f30211ca4005fc304d7ca9af49c /mf
parent7ed7602a82aa06a8387237c36ebd11f5a329078e (diff)
Build: Dependency fix for emmentaler fonts (issue 3549).
Order dependencies so that fonts aren't rebuilt on a subsequent call to make; everything should be built and up-to-date after a one-shot make call. Also remove unused macros and update a comment.
Diffstat (limited to 'mf')
-rw-r--r--mf/GNUmakefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/mf/GNUmakefile b/mf/GNUmakefile
index f81b56dabe..9da619c823 100644
--- a/mf/GNUmakefile
+++ b/mf/GNUmakefile
@@ -7,7 +7,8 @@ STEPMAKE_TEMPLATES = metafont \
install-out
LOCALSTEPMAKE_TEMPLATES = lilypond
-# We don't use $(MF_FILES), because there's more .mf cruft here
+# These are the main .mf files. We don't use $(MF_FILES) here,
+# because there are more .mf files, input'ed into the main files.
FETA_MF_FILES = $(call src-wildcard,feta[0-9]*.mf) \
$(call src-wildcard,feta-braces-[a-z].mf) \
$(call src-wildcard,feta-alphabet*[0-9].mf) \
@@ -35,15 +36,10 @@ OTF_TABLES = $(STAFF_SIZES:%=$(outdir)/feta%.otf-table) \
SVG_FILES = $(OTF_FILES:%.otf=%.svg)
WOFF_FILES = $(OTF_FILES:%.otf=%.woff)
-FC_FIND = $(shell $(FCLIST) --verbose 'Century Schoolbook L:style=$(1)' \
- | grep 'file:' \
- | sed 's/.*"\([^"]*\)".*/\1/g')
-
NCSB_OTFS = $(addprefix $(outdir)/,CenturySchL-Ital.otf \
CenturySchL-BoldItal.otf \
CenturySchL-Roma.otf \
CenturySchL-Bold.otf)
-NCSB_INSTALL_DIR = $(local_lilypond_datadir)/fonts/otf
LOG_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.log)
LISP_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.lisp)
@@ -99,9 +95,10 @@ $(PE_SCRIPTS): $(buildscript-dir)/gen-emmentaler-scripts
$< --dir=$(outdir)
-# Make tfm files first, log files last,
-# so that normally log files aren't made twice
-ALL_GEN_FILES = $(LOG_FILES) \
+# Generate emmentaler-*.pe scripts first, and *.otf, *.svg, *.woff files last,
+# so that normally these files aren't regenerated on a subsequent call to make.
+ALL_GEN_FILES = $(PE_SCRIPTS) \
+ $(LOG_FILES) \
$(ENC_FILES) \
$(LISP_FILES) \
$(OTF_TABLES) \