summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/am/texmf.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/am/texmf.am')
-rw-r--r--Build/source/texk/web2c/am/texmf.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/am/texmf.am b/Build/source/texk/web2c/am/texmf.am
index 5798ec28c5d..fe256a3e7ec 100644
--- a/Build/source/texk/web2c/am/texmf.am
+++ b/Build/source/texk/web2c/am/texmf.am
@@ -27,8 +27,11 @@ tex_LDADD = $(LDADD) $(ipc_socketlibs)
# TeX C sources
tex_c_h = texini.c tex0.c tex1.c tex2.c texcoerce.h texd.h
nodist_tex_SOURCES = $(tex_c_h) tex-pool.c texextra.c
-$(tex_c_h): tex-web2c
+# We must create texd.h before building the tex_OBJECTS.
+$(tex_OBJECTS): texd.h
+
+$(tex_c_h): tex-web2c
tex-web2c: tex.p $(web2c_texmf)
$(web2c) tex
: $(synctex_convert_tex)
@@ -122,6 +125,9 @@ mf_c_h = mfini.c mf0.c mf1.c mfcoerce.h mfd.h
nodist_libmf_a_SOURCES = $(mf_c_h) mf-pool.c
libmf_a_CPPFLAGS = -DMETA_FONT
+# We must create mfd.h before building the libmf_a_OBJECTS.
+$(libmf_a_OBJECTS): mfd.h
+
$(mf_c_h): mf-web2c
mf-web2c: mf.p $(web2c_texmf) web2c/cvtmf1.sed web2c/cvtmf2.sed
$(web2c) mf