5 STEPMAKE_TEMPLATES
=metafont metapost
install install-out
7 EXTRA_DIST_FILES
+= README feta.
tex
9 FET_FILES
= $(wildcard feta
[0-9]*.mf
)
10 FONT_FILES
= $(wildcard feta
*[0-9].mf
)
13 LOG_FILES
= $(addprefix $(outdir
)/, $(FET_FILES
:.mf
=.log
))
14 TEXTABLES
= $(addprefix $(outdir
)/, $(FET_FILES
:.mf
=.
tex))
15 AFM_FILES
= $(addprefix $(outdir
)/, $(FET_FILES
:.mf
=.afm
))
16 TFM_FILES
= $(addprefix $(outdir
)/, $(FONT_FILES
:.mf
=.tfm
))
17 PFA_FILES
= $(addprefix $(outdir
)/, $(FONT_FILES
:.mf
=.pfa
))
19 ALL_GEN_FILES
= $(TEXTABLES
) $(LOG_FILES
) $(AFM_FILES
) $(TFM_FILES
) $(PFA_FILES
)
21 #PRE_INSTALL=$(MAKE) "$(ALL_GEN_FILES)"
22 INSTALLATION_DIR
=$(datadir)/mf
/
23 INSTALLATION_FILES
=$(MF_FILES
)
25 INSTALLATION_OUT_SUFFIXES
=1 2 3 4
27 INSTALLATION_OUT_DIR1
=$(datadir)/tex
28 INSTALLATION_OUT_FILES1
=$(TEXTABLES
)
30 INSTALLATION_OUT_DIR2
=$(datadir)/afm
31 INSTALLATION_OUT_FILES2
=$(AFM_FILES
)
33 INSTALLATION_OUT_DIR3
=$(datadir)/tfm
34 INSTALLATION_OUT_FILES3
=$(TFM_FILES
)
36 # comment these out if you don't want pfa's to be generated
37 # or you don't have metapost.
38 INSTALLATION_OUT_DIR4
=$(datadir)/pfa
39 INSTALLATION_OUT_FILES4
=$(PFA_FILES
)
42 export MFINPUTS
:=.
:$(MFINPUTS
)
43 include $(depth
)/make
/stepmake.make
45 default
: $(ALL_GEN_FILES
)
47 $(outdir
)/%.afm
$(outdir
)/%.
tex $(outdir
)/%.dep
: $(outdir
)/%.log
48 $(PYTHON
) $(buildscripts
)/mf-to-table.py
--package
=$(topdir
) --outdir
=$(outdir
) --dep
$(outdir
)/$(<F
:.log
=.dep
) --afm
$(outdir
)/$(<F
:.log
=.afm
) --tex $(outdir
)/$(<F
:.log
=.
tex) $<
51 rm -f mfplain.mem mfplain.log mpout.log